Example #1
0
    public override void activate(ObjectActor self, ObjectCombatable target)
    {
        ObjectActor targetActor = target as ObjectActor;

        target.takeColdDamage(10.0f, self);
        if (targetActor != null)
        {
            targetActor.beginChilled(self);
        }
    }
Example #2
0
    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);
    }