Пример #1
0
    /*
     *  skillName = "Exact Slash";
     *  briefSkillDescription = "Target suffers bleeding.";
     *  fullSkillDescription = "Target suffers bleeding for 10 seconds.";
     *  energyCost = 10.0f;
     *  sacrificeCost = 0.0f;
     *  adrenalineCost = 0;
     *  castTime = 0.5f;
     *  cooldown = 1.5f;
     *  range = 3.0f;
     */

    public override bool activate(ObjectActor self, ObjectCombatable target, out string message)
    {
        ObjectActor targetActor = target as ObjectActor;

        if (targetActor != null)
        {
            targetActor.beginBleeding(self);
        }
        message = "";
        return(false);
    }
Пример #2
0
    public override bool activate(ObjectActor self, ObjectCombatable target, out string message)
    {
        ObjectActor actor = (ObjectActor)target;

        if (actor != null)
        {
            actor.beginBleeding(self);
            actor.beginBurning(self);
            actor.beginChilled(self);
            actor.beginConcussed(self);
            actor.beginCrippled(self);
            actor.beginExhausted(self);
            actor.beginPoisoned(self);
            actor.beginScarred(self);
            actor.beginShattered(self);
            actor.beginWeakened(self);
            actor.beginWounded(self);
        }
        message = "";
        return(false);
    }