Beispiel #1
0
    //public Status(StatusInfo statusInfo, float duration, float interval) : this(statusInfo, duration)
    //{
    //    intervalTimer = new Timer("Interval", interval, true, Tick);
    //}

    protected virtual void SetUp(StatusInfo info)
    {
        statusType       = info.typeInfo.statusType;
        MaxStack         = info.typeInfo.maxStacks;
        Target           = info.targetInfo.target;
        Source           = info.targetInfo.source;
        SourceAbility    = info.targetInfo.sourceAbility;
        SourceEffect     = info.targetInfo.sourceEffect;
        onCompleteEffect = info.GetOnCompleteEffect();
        StackCount       = 1;
        stackMethod      = info.typeInfo.stackMethod;
    }
Beispiel #2
0
    //public Status(StatusInfo statusInfo, float duration, float interval) : this(statusInfo, duration)
    //{
    //    intervalTimer = new Timer("Interval", interval, true, Tick);
    //}

    protected virtual void SetUp(StatusInfo info)
    {
        statusType       = info.typeInfo.statusType;
        MaxStack         = info.typeInfo.maxStacks;
        Target           = info.targetInfo.target;
        Source           = info.targetInfo.source;
        SourceAbility    = info.targetInfo.sourceAbility;
        SourceEffect     = info.targetInfo.sourceEffect;
        onCompleteEffect = info.GetOnCompleteEffect();
        StackCount       = 1;
        stackMethod      = info.typeInfo.stackMethod;
        AnimBoolName     = info.typeInfo.animBool;
        vfxName          = info.typeInfo.vfxName;
        vfxOffset        = info.typeInfo.vfxPosOffset;

        //CreateVFX();
    }