Modifying Skill Upgrades
Last updated
Last updated
With Skill Upgrades, you can change your Skills in many ways, per Passive Skills, Equipped Items, Active Status Effects/Crowd Controls, or anything else.
Here you can set your variables for the upgrades.
For this example, we are using the Double Attack upgrade, if we have the SM_DoubleAttack Skill learned we are setting DoubleAttackLearned
to true.
All variables here will only get re-set on a newly learned Skill, LevelUp, Equipment Change, Status Effect change, or anything else that needs a Stat re-calculation.
Here we are actually modifying the SkillStructure of the current used Skill. As for Double Attack, you can see that this skill upgrade is only available for the Physical Basic Attack Skill.
Basically, that's how you add Skill Upgrades, there isn't just one way to add them, be creative and try to add as few calculations as possible into the SetSkillUpgrades
and try to put it into the GetSkillsUpgrade
instead.
Keep in mind that SetSkillUpgrades
gets called every time you want to cast a skill.