Path-of-Terraria / PathOfTerraria

GNU General Public License v3.0
1 stars 3 forks source link

Changed default AnchorPassive value 1->0 #398

Closed ckeyboard closed 1 month ago

ckeyboard commented 1 month ago

Fixes interface showing -1 in the skill tree when player saves as new character and re-enters world.

### Link Issues Resolves: #389

Description of Work

Changes hard-coded value of 1->0 for AnchorPassive

Comments

Characters already affected by this issue will need to save and quit for fix to take place.

CollinHerber commented 1 month ago

If not you can use the spawn orbs command to give yourself experience, ie passives, to test with https://github.com/Path-of-Terraria/PathOfTerraria/blob/main/Core/Commands/SpawnOrbsCommand.cs

ckeyboard commented 1 month ago

I just checked and unfortunately passives can't be allocated when AnchorPassive is set to zero. I'll need to check if there is something locking the skill tree.

CollinHerber commented 1 month ago

I just checked and unfortunately passives can't be allocated when AnchorPassive is set to zero. I'll need to check if there is something locking the skill tree.

I think that logic can probably just be updated to not need to check level of it, or if it's a list of active passives or something to include the anchor by default

CollinHerber commented 1 month ago

Come chat with me on Discord and we'll get you setup as a contributor