[fixed] Kessig Wolf Run not trampling PWs
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
7 posts
• Page 1 of 1
[fixed] Kessig Wolf Run not trampling PWs
by gnomefry » 23 Mar 2022, 22:18
Describe the Bug:
When attacking a planeswalker, my blocked creature's Kessig Wolf Run bonus doesn't trample excess damage onto the PW. The creature acquires the trample icon and indeed tramples, but unsoaked damage instead goes to the PW's controller.
When I reload the save and repeat the scenario using a Chorus of Might instant instead of the Kessig land, the creature's excess damage properly spills over to the PW.
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Holidays 2021 ad1a6f8 - gauntlet
What exactly should be the correct behavior/interaction?
Trample spills damage in excess of the defender's toughness onto the PW target.
Are any other cards possibly affected by this bug?
When attacking a planeswalker, my blocked creature's Kessig Wolf Run bonus doesn't trample excess damage onto the PW. The creature acquires the trample icon and indeed tramples, but unsoaked damage instead goes to the PW's controller.
When I reload the save and repeat the scenario using a Chorus of Might instant instead of the Kessig land, the creature's excess damage properly spills over to the PW.
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Holidays 2021 ad1a6f8 - gauntlet
What exactly should be the correct behavior/interaction?
Trample spills damage in excess of the defender's toughness onto the PW target.
Are any other cards possibly affected by this bug?
- Attachments
-
kessigwolfrun.rar
- (4.17 KiB) Downloaded 138 times
Last edited by drool66 on 05 May 2022, 20:36, edited 4 times in total.
Reason: fixed, I think
Reason: fixed, I think
Re: Kessig Wolf Run not trampling PWs
by drool66 » 26 Mar 2022, 01:24
Confirmed on your save, but not in dev. I don't know how or when this would have been fixed though.
Unrelated, tap_card() needs to be removed from EVENT_ACTIVATE of Kessig Wolf Run
Unrelated, tap_card() needs to be removed from EVENT_ACTIVATE of Kessig Wolf Run
The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
drool66 - Programmer
- Posts: 1185
- Joined: 25 Nov 2010, 22:38
- Has thanked: 187 times
- Been thanked: 280 times
Re: Kessig Wolf Run not trampling PWs
by Aswan jaguar » 26 Mar 2022, 12:32
The issue happens in dev, too. However the bug happens only when the attacker has bigger game id than Kessig Wolf Run. If attacker has lesser game id than Kessig Wolf Run then it tramples over to planeswalker.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
Re: [confirmed]Kessig Wolf Run not trampling PWs
by drool66 » 03 Apr 2022, 17:00
I don't see any reason that damage cards need to wait until EVENT_DEAL_DAMAGE to load the planeswalker being attacked into targets[4] - I think that can be done right in damage_creature() like this:
Unrelated, the Soulfire Grand Master section needs to come after the sp_keywords are loaded into the damage card so the added SP_KEYWORD_LIFELINK bit isn't overwritten (my fault)
[EDIT] oh, duh. If the card order is wrong, the damage card will read its targets[4] before the attacking_planeswalker() legacy can change it since it's all done on EVENT_DEAL_DAMAGE
- Code: Select all
if (attacking)
{
if (current_phase == PHASE_FIRST_STRIKE_DAMAGE)
dmg_inst->token_status |= STATUS_FIRST_STRIKE_DAMAGE;
if (current_phase == PHASE_NORMAL_COMBAT_DAMAGE)
dmg_inst->token_status |= STATUS_COMBAT_DAMAGE;
if( (dmg_inst->token_status & (STATUS_FIRST_STRIKE_DAMAGE|STATUS_COMBAT_DAMAGE)) &&
check_special_flags(src_player, src_card, SF_ATTACKING_PWALKER) )
{
dmg_inst->targets[4].player = 1-src_player;
dmg_inst->targets[4].card = planeswalker_its_attacking(src_player, src_card);
}
}
Unrelated, the Soulfire Grand Master section needs to come after the sp_keywords are loaded into the damage card so the added SP_KEYWORD_LIFELINK bit isn't overwritten (my fault)
[EDIT] oh, duh. If the card order is wrong, the damage card will read its targets[4] before the attacking_planeswalker() legacy can change it since it's all done on EVENT_DEAL_DAMAGE

The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
drool66 - Programmer
- Posts: 1185
- Joined: 25 Nov 2010, 22:38
- Has thanked: 187 times
- Been thanked: 280 times
Re: [fixed]Kessig Wolf Run not trampling PWs
by drool66 » 18 Apr 2022, 21:27
Fixed in f868fb1
The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
drool66 - Programmer
- Posts: 1185
- Joined: 25 Nov 2010, 22:38
- Has thanked: 187 times
- Been thanked: 280 times
Re: [fixed]Kessig Wolf Run not trampling PWs
by Aswan jaguar » 19 Apr 2022, 13:53
Now all damage tramples over to Planeswalker and the blocking creature doesn't receive combat damage at all.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
Re: [still bug]Kessig Wolf Run not trampling PWs
by drool66 » 19 Apr 2022, 17:45
I see. The handling will have to be tweaked, but hopefully not overhauled completely.
[EDIT] I have it handled as far as I can tell, continuing to test.
[EDIT2] Changes pushed in bf4d5d7; hopefully we can find a way to do this without rebuilding the data, but it works for now.
[EDIT] I have it handled as far as I can tell, continuing to test.
[EDIT2] Changes pushed in bf4d5d7; hopefully we can find a way to do this without rebuilding the data, but it works for now.
The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
drool66 - Programmer
- Posts: 1185
- Joined: 25 Nov 2010, 22:38
- Has thanked: 187 times
- Been thanked: 280 times
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 27 guests