profaneScript
Tribunal.esm
Variables
2
Local Variables
doOnce
enableOnce
Source
1Begin profaneScript
2
3short doOnce
4short enableOnce
5
6if ( GetDisabled == 0 )
7 if ( GetJournalIndex TR_ShrineDead < 20 )
8 Disable
9 endif
10else
11 if ( GetJournalIndex TR_ShrineDead >= 20 )
12 if ( enableOnce == 0 )
13 Enable
14 endif
15 endif
16endif
17
18
19If ( OnDeath == 1 )
20 if ( doOnce == 0 )
21 if ( GetDeadCount lich_profane_unique >= 5 )
22 Journal TR_ShrineDead 50
23 Set doOnce to -1
24 endif
25 endif
26endif
27
28End profaneScript