*Author

Active members:
jmizzle7(1) Hotshot2k4(2)

Hotshot2k4

  • Guest
Weapon attacks before shards finish healing [not a bug] https://elementscommunity.org/forum/index.php?topic=14703.msg186563#msg186563
« on: October 27, 2010, 11:24:42 pm »
Mini logic explanation:
So I've always noticed that the way damage and/or healing done to players can be a bit slow to animate, but it turns out the hp bar isn't just a visual aid, and calculations can actually be done in the wrong order if +hp/-hp effects are triggered slower than the engine goes through the cards. Here's what I mean:
Bug:
I had 78 hp, 6 shards (posssibly 5, but not 4), and a pulverizer. It was my winning turn and I had enough damage to bring my opponent to a low-enough hp, heal from shards for 100 life, and then have him die from the pulverizer. However the game ended with me having 98 life (and no elemental master award) because the pulverizer finished my opponent before my shards finished healing me, for reasons explained in above spoiler.

Also, this can be reproduced by having 5-6 shards and a weapon (seeing the weapon strike before the heals finish), it does not have to be a game-winning situation.


The fix idea:
Seems like if healing effect animated faster faster would fix this (chances are you know what's going to heal you anyway so you don't need much time to see the numbers go by), or have damage-causing permanents wait until all of the healing effects are finished before triggering an attack.

Offline jmizzle7

  • Legendary Member
  • ******
  • Posts: 3058
  • Reputation Power: 34
  • jmizzle7 is a Ghost, obsessed with their Elemental pursuits.jmizzle7 is a Ghost, obsessed with their Elemental pursuits.jmizzle7 is a Ghost, obsessed with their Elemental pursuits.jmizzle7 is a Ghost, obsessed with their Elemental pursuits.jmizzle7 is a Ghost, obsessed with their Elemental pursuits.jmizzle7 is a Ghost, obsessed with their Elemental pursuits.
  • I'm kind of a big deal. People know me.
  • Awards: Weekly Tournament WinnerSS Competition #1 1stCard Design Competition Winner
Re: Weapon attacks before shards finish healing [unconfirmed] https://elementscommunity.org/forum/index.php?topic=14703.msg186819#msg186819
« Reply #1 on: October 28, 2010, 06:04:05 am »
It's not a bug. Permanent position dictates when your permanents act. If any shards you have in play are in permanent slots that act after your weapon, you will not receive healing from them until after your weapon acts.

Explanation: There are 19 permanent slots. Your weapon is in slot 10, so there are nine permanents that act before your weapon, and nine that act after your weapon.

Hotshot2k4

  • Guest
Re: Weapon attacks before shards finish healing [unconfirmed] https://elementscommunity.org/forum/index.php?topic=14703.msg186823#msg186823
« Reply #2 on: October 28, 2010, 06:26:44 am »
Oh...

That's...weird...

Thanks for the explanation, although I really don't see the logic in permanent cards acting the same way as monster cards. I guess that makes it easier to code. Still, why shouldn't the equipment slots just be counted before or after all of the other permanents, instead of in the potential middle of it? I'm going to go ahead and close this, but maybe you or someone else could PM me the answer?

 

blarg: