Scripts

TR_m7_NPC_GilurHloril

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