enderalse/scripts/source/_00e_theriantrophist_detoxeffcarrier.psc

11 lines
466 B
Plaintext

Scriptname _00E_Theriantrophist_DetoxEffCarrier extends activemagiceffect
Spell Property _00E_A4_Theriantrophist_DetoxificationPoisonSP Auto
Int Property effectIndex Auto
Float Property magPercentage = 1.0 Auto
Function PrepareEffect()
Float mag = _00E_A4_Theriantrophist_DetoxificationPoisonSP.GetNthEffectMagnitude(effectIndex)
_00E_A4_Theriantrophist_DetoxificationPoisonSP.SetNthEffectMagnitude(effectIndex, self.getMagnitude() * magPercentage)
EndFunction