TR_m7_NPC_Antigone
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
spellAdd
Source
1Begin TR_m7_NPC_Antigone
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9short spellAdd
10
11If ( CellChanged )
12 If ( GetJournalIndex TR_m7_Ns_TT_Orvayn3 < 10 )
13 Disable
14 Else
15 Enable
16 Endif
17Endif
18
19If ( ControlQ == 1 )
20 If ( GetJournalIndex TR_m7_Ns_TT_Orvayn3 == 30 )
21 If ( player->GetPos Z < 12500 )
22 If ( GetDistance player <= 1024 )
23 TR_m7_q_Antigone->RemoveSpell TR_m7_Ns_AntigoneFrostfist
24 TR_m7_q_Antigone->AddSpell TR_m7_Ns_AntigoneFrostfist_AOE
25 Forcegreeting
26 Endif
27 Endif
28 Endif
29Endif
30
31
32If ( OnDeath )
33 If ( GetJournalIndex TR_m7_Ns_TT_Orvayn3 == 30 )
34 If ( ControlQ >= 1 )
35 Journal TR_m7_Ns_TT_Orvayn3 50
36 Set TR_m7_Ns_ArenaDuelActive to 0
37 Set TR_m7_Ns_ArenaDuelManager.duelWon to 1
38 Else
39 Journal TR_m7_Ns_TT_Orvayn3 80
40 Endif
41 Else
42 Journal TR_m7_Ns_TT_Orvayn3 80
43 Endif
44Endif
45
46If ( TR_Map != 7 )
47 set TR_Map to 7
48Endif
49
50
51END