TR_m7_BnwG_stinky_sc
TR_Mainland.esm
Variables
2
Local Variables
doonce
DoOnceB
Source
1Begin TR_m7_BnwG_stinky_sc
2
3short doonce
4short DoOnceB
5
6if ( doonce == 0 )
7 Disable
8 set doonce to 1
9endif
10
11if ( GetDeadCount "TR_m3_q_Bazark" > 0 )
12 if ( DoOnceB == 0 )
13 Enable
14 SetHealth 0
15 set DoOnceB to 1
16 endif
17endif
18
19if ( GetCommonDisease == 0 )
20 AddSpell "brown rot"
21endif
22
23if ( GetJournalIndex TR_m7_Sdr_TheStinkCurse >= 10 )
24 if ( GetDeadCount "TR_m7_q_Ocrulun" > 0 )
25 if ( OnDeath == 1 )
26 if ( GetJournalIndex TR_m7_Sdr_TheStinkCurse < 80 )
27 journal TR_m7_Sdr_TheStinkCurse 100
28 endif
29 endif
30 endif
31endif
32
33if ( OnDeath == 1 )
34 "TR_m7_q_Ocrulun"->SetStrength 37
35endif
36
37End