TR_m7_NPC_EnarHelothran
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
doonce
Source
1Begin TR_m7_NPC_EnarHelothran
2
3short TR_Map
4short control
5short controlQ
6short T_Local_NPC
7short NoLore
8
9short doonce
10
11if ( OnDeath )
12 if ( GetJournalIndex TR_m7_Ns_Casino_Accountant >= 10 )
13 if ( GetJournalIndex TR_m7_Ns_Casino_Accountant < 100 )
14 Journal TR_m7_Ns_Casino_Accountant 200
15 endif
16 endif
17endif
18
19if ( GetJournalIndex TR_m7_JNS_TheBoss_BreathingOut == 100 )
20 if ( GetDisabled == 0 )
21 disable
22 endif
23elseif ( GetJournalIndex TR_m7_JNS_TheBoss_BreathingOutp >= 30 )
24 if ( doonce < 2 )
25 set doonce to 2
26 sethealth 0
27 endif
28elseif ( GetJournalIndex TR_m7_JNS_TheBoss_BreathingOutp >= 20 )
29 if ( doonce < 1 )
30 set doonce to 1
31 setfight 100
32 endif
33endif
34
35if ( TR_Map )
36 return
37endif
38
39set TR_Map to 7
40
41End