Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
466 B
10 lines
466 B
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
|
|
|