Exemplo n.º 1
0
 public void addFoodAbilities(Ability foodAbility)
 {
     foodAbilities.Add(foodAbility);
     foodAbility.setCaster(this);
 }
Exemplo n.º 2
0
    void initAbility(Ability ability)
    {
        if (ability == null) return;

        Debug.Log("init abilities for" + gameObject.name);
        ability.setCaster(gameObject);
        ability.registerEffects();
    }
Exemplo n.º 3
0
 public void addCharAbilities(Ability charAbility)
 {
     innateAbilities.Add(charAbility);
     charAbility.setCaster(this);
 }