示例#1
0
    public void stack()
    {
        if (multiple < MAXMULTIPLIER)
        {
            multiple++;
            subject.moveSpeedChangeValue(-speedChanged);
        }
        string newName        = ("Crippled x" + multiple);
        string newDescription = string.Format("Speed reduced by {0}%.", (int)SPEEDLOSS * 100);
        bool   timed          = true;

        effectFunctions.iconUpdate(instanceList, newName, newDescription, timed, endTime);
    }
示例#2
0
 public override void end(ObjectActor subject)
 {
     subject.moveSpeedChangeValue(speedChanged * multiple);
     Destroy(this);
 }