#1 Drain and stat conditions i.e. potions

Open
opened 3 years ago by great_wolves · 3 comments

Issue:Explosive stat growth

Expected: The drain ability only takes from the base stat, and the effect of the potion is re-calculated based on that change.

Occurs: When the status effect is active, the enemy attempts to drain the status effect, and the effect is multiplied. The drain also takes the modified stat.

Issue:Explosive stat growth Expected: The drain ability only takes from the base stat, and the effect of the potion is re-calculated based on that change. Occurs: When the status effect is active, the enemy attempts to drain the status effect, and the effect is multiplied. The drain also takes the modified stat.
great_wolves commented 3 years ago
Poster

I have a sneeking suspision it’s a by product of this reduce function, But I don’t know.

Edit, This is in creture.ts

I have a sneeking suspision it's a by product of this reduce function, But I don't know. Edit, This is in creture.ts
great_wolves commented 3 years ago
Poster

It isn’t just the drain attack. Any attack on a modified stat will add to the base stat.

It isn't just the drain attack. Any attack on a modified stat will add to the base stat.
chemicalcrux commented 3 years ago
Owner

Interesting. That reduce function asks every status effect if it wants to modify a stat, so it should always tell you the correct value (taking any changes in the base stat into account).

If I had to guess, I bet I’m reading the effective stat value, then writing that to the base value...

Interesting. That reduce function asks every status effect if it wants to modify a stat, so it should always tell you the correct value (taking any changes in the base stat into account). If I had to guess, I bet I'm reading the *effective* stat value, then writing that to the base value...
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.