fix upgrades
This commit is contained in:
parent
d8c49317a3
commit
5dcbd3c313
17 changed files with 477 additions and 83 deletions
|
|
@ -5,21 +5,20 @@ public class AbilityUpgrade : ScriptableObject
|
|||
[Header("Identification")]
|
||||
public string upgradeName;
|
||||
public Sprite upgradeIcon;
|
||||
public PlayerAbility thisPlayerAbility;
|
||||
[Header("Stats")]
|
||||
public int count = 1;
|
||||
public PlayerAbility thisPlayerAbility;
|
||||
|
||||
public virtual void ApplyUpgrade()
|
||||
public void ApplyUpgrade(PlayerAbility abilityToUpgrade)
|
||||
{
|
||||
UpgradeEffects();
|
||||
UpgradeEffects(abilityToUpgrade);
|
||||
}
|
||||
|
||||
protected virtual void UpgradeEffects()
|
||||
protected virtual void UpgradeEffects(PlayerAbility abilityToUpgrade)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void ApplyRemoval()
|
||||
public virtual void ApplyRemoval(PlayerAbility abilityToRemove)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue