enderalse/source/scripts/blacksmithforge01.psc

15 lines
328 B
Plaintext

scriptName BlacksmithForge01 extends ObjectReference
import Debug
spell property FlameDamage Auto
EVENT onActivate ( objectReference triggerRef )
playAnimation("activate")
endEvent
Event OnTriggerEnter ( objectReference triggerRef )
if (triggerRef == Game.GetPlayer())
FlameDamage.Cast(self, triggerRef)
endIf
endEvent