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.
29 lines
845 B
29 lines
845 B
3 years ago
|
Scriptname _00E_Theriantrophist_Chymikum_HitSpel extends _00E_Theriantrophist_Chymikum
|
||
|
|
||
|
;Spell Property HitSpell Auto
|
||
|
Enchantment Property _00E_Theriantrophist_ClawsEnchantement Auto
|
||
|
|
||
|
String Property ChymikumType = "Fire" Auto
|
||
|
{Valid types are: Fire, Frost, Shock. Default ist FIRE.}
|
||
|
|
||
|
Function OnPlayerLoadGame()
|
||
|
_AdjustPower()
|
||
|
EndFunction
|
||
|
|
||
|
Function _AdjustPower()
|
||
|
if ChymikumType == "Fire"
|
||
|
_00E_Theriantrophist_ClawsEnchantement.SetNthEffectMagnitude(1, Self.GetMagnitude())
|
||
|
elseif ChymikumType == "Frost"
|
||
|
_00E_Theriantrophist_ClawsEnchantement.SetNthEffectMagnitude(2, Self.GetMagnitude())
|
||
|
else
|
||
|
_00E_Theriantrophist_ClawsEnchantement.SetNthEffectMagnitude(3, Self.GetMagnitude())
|
||
|
endif
|
||
|
EndFunction
|
||
|
|
||
|
Function OnChymikumEffectStart(Actor target)
|
||
|
_AdjustPower()
|
||
|
EndFunction
|
||
|
|
||
|
Function OnChymikumEffectFinish(Actor target)
|
||
|
Endfunction
|