public override void activate(ObjectActor self, ObjectCombatable target) { ObjectActor targetActor = target as ObjectActor; target.takeColdDamage(10.0f, self); if (targetActor != null) { targetActor.beginChilled(self); } }
public override bool activate(ObjectActor self, ObjectCombatable target, out string message) { ObjectActor targetActor = target as ObjectActor; target.takeColdDamage(10.0f, self); if (targetActor != null) { targetActor.beginChilled(self); } message = ""; return(false); }