Example #1
0
    public override void Initialize(SpecialAbility parentAbility)
    {
        base.Initialize(parentAbility);

        //Debug.Log("Initializing " + effectName);

        if (string.IsNullOrEmpty(onCompleteEffectName) == false)
        {
            //Debug.Log("Looking for an on complete effect");
            onCompleteEffect = parentAbility.GetEffectByName(onCompleteEffectName);
        }


        //if (onCompleteEffect != null)
        //    Debug.Log(onCompleteEffect.effectName + " is an on complete effect");
    }