Repository navigation
P437: a player dead when a mob falls gets no EXP or quest count - #1522
Merged
Merged
Conversation
Cosmic's giveExpToCharacter skips a dead attacker or party member; the party's split still counts them and the loot still drops. Seen on Manon: a last Barrage sent just before its deadly attack and a touch killed mageb landed after the death, and its 13,500 EXP came after the death penalty had set EXP to 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found while playing Manon (8180000) on 240020401 in Leafre: a last Barrage was sent just before Manon's deadly attack and a touch killed mageb, and it landed after the death. Manon's 13,500 EXP arrived after the death penalty had already set EXP to 0.
Cosmic's
Monster.giveExpToCharactergives nothing to a dead attacker or party member: no EXP, and no quest mob count. The party's split still counts them, and the loot still drops. The client actor now does the same inServerMessage::MobKilled.Test:
party_huntingtouches the member to death, then the leader kills a snail. The leader's share stays 2, and the member gets no gain. It fails without the fix (member gains[1, 1]). party_hunting, monster_expert, summons and aran_wolf pass on the lane world.