mag decrease stat check #25

Open
opened 3 years ago by andy · 4 comments
andy commented 3 years ago
Collaborator

this might already be handled.
if an item decreases a mag's stats, it will only happen if the amount to decrease <= current value (based on gc)

this might already be handled. if an item decreases a mag's stats, it will only happen if the amount to decrease <= current value (based on gc)
Owner

is this about stopping a mag from de-leveling? cause thats already in

is this about stopping a mag from de-leveling? cause thats already in
Poster
Collaborator

If a mag has 6 exp in the Def and you feed it an item that removes more than 6 exp it will remain at 6 exp.

If a mag has 6 exp in the Def and you feed it an item that removes more than 6 exp it will remain at 6 exp.
Owner

d66a90c4cf/src/entity/item/mag.rs (L1015-L1033)
current functionality is to clamp it down:

for example 6 - 7 currently sets it to 0, when it should instead leave it at 6

http://git.sharnoth.com/jake/elseware/src/commit/d66a90c4cf7f712ea31bd835d8a24a1ec6eedfb2/src/entity/item/mag.rs#L1015-L1033 current functionality is to clamp it down: for example 6 - 7 currently sets it to 0, when it should instead leave it at 6
jake added the
release
label 2 years ago
Poster
Collaborator
http://git.sharnoth.com/jake/elseware/pulls/140
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.