Scripts

skaalwere5Script

Bloodmoon.esm
Variables 2
Local Variables
doOnce
attackOnce
Source
1Begin skaalwere5Script 2 3short doOnce 4short attackOnce 5 6if ( SkaalAttack >= 3 ) 7 return 8endif 9 10if ( GetJournalIndex BM_SkaalAttack < 10 ) 11 if ( GetDisabled == 0 ) 12 Disable 13 endif 14 return 15endif 16 17if ( doOnce == 0 ) 18 Enable 19 Becomewerewolf 20 set doOnce to 1 21 return 22endif 23 24if ( GetJournalIndex BM_SkaalAttack == 10 ) 25 Set SkaalAttack to 2 26endif 27 28if ( SkaalAttack == 2 ) 29 if ( attackOnce == 0 ) 30 StartCombat "horski tallowhand" 31 "horski tallowhand"->StartCombat BM_werewolf_skaal1F3 32 "engar ice-mane"->StartCombat BM_werewolf_skaal1F3 33 set attackOnce to 1 34 endif 35endif 36 37if ( OnDeath == 1 ) 38 set werewolfdead to ( werewolfdead + 1 ) 39endif 40 41if ( werewolfdead >= 7 ) 42 if ( GetJournalIndex BM_SkaalAttack < 20 ) 43 Journal BM_SkaalAttack 20 44 "tharsten heart-fang"->Disable 45 "skaal_guard2"->SetHealth 0 46 Set SkaalAttack to 3 47 endif 48endif 49 50 51 52 53 54 55 56 57End skaalwere5Script