TR_m3_IL_CasikDremora_sc
TR_Mainland.esm
Variables
3
Local Variables
control
controlQ
DoOnce
Source
1Begin TR_m3_IL_CasikDremora_sc
2
3; Script on NPC TR_m3_OE_Casik_dremora for Casik quest.
4short control
5short controlQ
6short DoOnce
7
8if ( OnDeath )
9 if ( GetJournalIndex TR_m3_IL_Justice >= 40 )
10 if ( GetJournalIndex TR_m3_IL_Justice < 100 )
11 Journal TR_m3_IL_JusticeA 99
12 endif
13 endif
14endif
15
16if ( control >= 0 )
17 if ( GetDeadCount TR_m3_Casik > 0 )
18 ModCurrentHealth -1000
19 set control to -9
20 endif
21endif
22
23
24;make him passive on J75
25if ( DoOnce < 1 )
26 if ( GetJournalIndex TR_m3_IL_Justice == 75 )
27 setFight 0
28 set DoOnce to 1
29 endif
30endif
31
32End