It is currently 08 Jul 2021, 04:32
   
Text Size

[fixed/closed]Mana Drain + Drain Life

Moderators: BAgate, drool66, stassy, Aswan jaguar, gmzombie, CCGHQ Admins

[fixed/closed]Mana Drain + Drain Life

Postby gumienny » 02 Oct 2013, 07:11

Describe the Bug:
When countering a spell with an X in its cost (Fireball, for example), Mana Drain only drains one colorless mana instead of the full converted mana cost of the countered spell.

Which card did behave improperly ?
Mana Drain

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Spetember update V2, noticed the bug in Duel and Gauntlet

What exactly should be the correct behavior/interaction ?
Mana Drain's caster should be given an amount of mana equal to the converted mana cost of the countered spell.
Attachments
manadrainbug.rar
(2.55 KiB) Downloaded 91 times
Last edited by BAgate on 23 Apr 2014, 05:59, edited 7 times in total.
Reason: closed
gumienny
 
Posts: 1
Joined: 25 Sep 2011, 09:29
Has thanked: 0 time
Been thanked: 0 time

Re: Mana Drain

Postby Gargaroz » 02 Oct 2013, 12:15

Fixed, although it won't work in the 100% cases (cards with XX in the casting cost or card with "pay X target X" won't be correctly recognized).
----
- Current / medium term task: adjusting the code for making Misdirection and such usable
- Long term task: inserting all the good stuff I left out from the "Golden Years" mod
Gargaroz
Programmer
 
Posts: 7095
Joined: 06 Nov 2009, 11:11
Has thanked: 82 times
Been thanked: 593 times

Re: [still bugged]Mana Drain

Postby gmzombie » 25 Nov 2013, 01:04

this is still bugged as when i get the ai to cast drain life for 2 life i should get 4 mana and i always get 2. it dosent count the x
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 856
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 50 times

Re: [confirmed]Mana Drain

Postby Gargaroz » 25 Nov 2013, 14:44

Drain Life is another special case as it only charges B for the X cost.
----
- Current / medium term task: adjusting the code for making Misdirection and such usable
- Long term task: inserting all the good stuff I left out from the "Golden Years" mod
Gargaroz
Programmer
 
Posts: 7095
Joined: 06 Nov 2009, 11:11
Has thanked: 82 times
Been thanked: 593 times

Re: [confirmed]Mana Drain

Postby BAgate » 25 Nov 2013, 20:22

Gargaroz - so does that mean that this instance is unfixable, or just that it hasn't been fixed yet?
Working on: housekeeping and archived reports
User avatar
BAgate
Tester
 
Posts: 2445
Joined: 06 Mar 2012, 11:09
Has thanked: 117 times
Been thanked: 158 times

Re: [confirmed]Mana Drain

Postby Gargaroz » 26 Nov 2013, 14:57

It's a bit problematic to fix this, since it requires setting a lot of "special cases".
Waitlisted, for now.
----
- Current / medium term task: adjusting the code for making Misdirection and such usable
- Long term task: inserting all the good stuff I left out from the "Golden Years" mod
Gargaroz
Programmer
 
Posts: 7095
Joined: 06 Nov 2009, 11:11
Has thanked: 82 times
Been thanked: 593 times

Re: [wait list]Mana Drain

Postby Korath » 29 Nov 2013, 18:12

Maybe store the amount during EVENT_CAN_CAST, like Spell Blast does? x_value from the previous spell is still correct then.
User avatar
Korath
DEVELOPER
 
Posts: 3522
Joined: 02 Jun 2013, 05:57
Has thanked: 491 times
Been thanked: 1037 times

Re: [wait list]Mana Drain

Postby Korath » 06 Apr 2014, 22:58

Fixed interaction with Drain Life in d633a6e. Please close this and report other cases separately and specifically (after the next patch, which changes how they're detected somewhat).
User avatar
Korath
DEVELOPER
 
Posts: 3522
Joined: 02 Jun 2013, 05:57
Has thanked: 491 times
Been thanked: 1037 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 3 guests


Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 3 guests

Login Form