demilich1 / metastone

Hearthstone simulator written in Java with full GUI support
GNU General Public License v2.0
132 stars 80 forks source link

Flametongue Totem plus Doppleganster #358

Open Muppet1 opened 7 years ago

Muppet1 commented 7 years ago

If you have a flametongue in play and summon a doppleganster next to it you get buffed extra copies which is not correct I think. I'm guessing the same happens with any adjacent buffing minion e.g. Dire Wolf Alpha but not tested it.

doctorpangloss commented 7 years ago

This is related to the SummonCopySpell not creating distinct IDs for the copies at the time it copies triggers, so the Flametongue aura benefits all the copies. This is a pretty serious issue with all the Entity::clone usages.

webadict commented 7 years ago

Lol, that is actually hilarious. At least this issue should be an easier fix inside of SummonCopySpell. Creating a new minion and applying the same buffs to it is probably the better solution anyway.