Scripts

WolfenderInnocent

Bloodmoon.esm
Variables 2
Local Variables
OnPCHitme
doonce
Source
1Begin WolfenderInnocent 2 3short OnPCHitme 4short doonce 5 6if (doonce==1) 7 return 8endif 9 10modFatigue -250 11 12if ( GetJournalIndex "BM_Wolfgiver" >= 80 ) 13 Enable 14endif 15 16if ( GetJournalIndex "BM_Wolfgiver" < 80 ) 17 Disable 18endif 19 20 21if ( OnPCHitMe == 1 ) 22 modFatigue 0 23 modHealth 0 24endif 25 26if ( OnDeath == 1 ) 27 additem "ingred_innocent_heart" 1 28endif 29 30if ( GetItemCount "ingred_wolf_heart" >= 1 ) 31 If (doonce==0) 32 Journal BM_WolfGiver 105 33 Set doonce to 1 34 endif 35endif 36 37End WolfenderInnocent