db_assassinScript
Tribunal.esm
Variables
2
Local Variables
killOnce
dartOnce
Source
1Begin db_assassinScript
2
3short killOnce
4short dartOnce
5
6if ( MenuMode == 1 )
7 return
8endif
9
10if ( GetJournalIndex TR_DBAttack == 0 )
11 if ( OnDeath == 1 )
12 Journal TR_DBAttack 10
13 endif
14endif
15
16if ( dartOnce == 0 )
17 if ( GetJournalIndex TR_DBAttack == 10 )
18 if ( player->GetItemCount "ebony dart_db_unique" > 0 )
19 Journal TR_DBAttack 20
20 set dartOnce to 1
21 endif
22 endif
23endif
24
25if ( killOnce == -1 )
26 return
27endif
28
29if ( GetDistance Player <=256 )
30 SetFight 100
31 SetFlee 0
32 StartCombat Player
33 set killOnce to -1
34endif
35
36
37
38
39
40
41End db_assassinScript