2023-12-04 15:02:58 +00:00
|
|
|
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())
|
2023-12-06 15:31:10 +00:00
|
|
|
FlameDamage.Cast(self, triggerRef)
|
2023-12-04 15:02:58 +00:00
|
|
|
endIf
|
|
|
|
endEvent
|