enderalse/source/scripts/_00e_perkentropie01bonus.psc

16 lines
398 B
Plaintext

Scriptname _00E_PerkEntropie01Bonus extends activemagiceffect
Import Math
Event OnEffectStart(Actor akTarget, Actor akCaster)
if akTarget == Game.GetPlayer() && !DoOnce
float fDamageDivider = EldritchDamageDivider.GetValue()
EldritchDamageDivider.SetValue(fDamageDivider+(fDamageDivider*0.2))
DoOnce = true
endif
EndEvent
bool DoOnce
globalvariable property EldritchDamageDivider auto