SadriFight
Tribunal.esm
Variables
5
Local Variables
nolore
spellcheck
ammogone
nolore
greetonce
Source
1Begin SadriFight
2
3short nolore
4short spellcheck
5short ammogone
6short nolore
7short greetonce
8
9
10
11if ( MenuMode == 1 )
12 Return
13endif
14
15
16if ( greetonce == 0 )
17 if ( GetDistance Player <= 512 )
18 ForceGreeting
19 set greetonce to 1
20 endif
21endif
22
23if ( player->GetParalysis > 0 )
24 set spellcheck to 1
25else
26 set spellcheck to 0
27endif
28
29
30if ( ammogone == 0 )
31 if ( spellcheck == 1 )
32 removeitem "ebony arrow_sadri" 50
33 removeitem "daedric long bow" 1
34 set ammogone to 1
35 elseif ( GetItemCount "ebony arrow_sadri" < 1 )
36 additem "ebony arrow_sadri" 50
37 endif
38endif
39
40if ( ammogone == 1 )
41 if ( spellcheck == 0 )
42 additem "ebony arrow_sadri" 50
43 additem "daedric long bow" 1
44 set ammogone to 0
45 endif
46endif
47
48
49if ( OnDeath == 1 )
50 removeitem "ebony arrow_sadri" 1000
51 removeitem "daedric long bow" 10
52 additem "ebony arrow_sadri" 5
53 additem "daedric long bow" 1
54 "ordinator_MH_Sadri"->Disable
55 Journal MS_Thief 80
56endif
57
58End