*Author

Sengiratolom

  • Guest
Adrenaline+ Antimatter bug https://elementscommunity.org/forum/index.php?topic=11705.msg143927#msg143927
« on: August 22, 2010, 10:35:34 am »
Ferox adrenalined a Elite Cockatrice, and it ended doing 5, 4, 2 dmg= 11 total, after i antimattered it, the attacks healed for 5, 3, 1= 9 total

Is this intended? If so what is the reasoning? If not, please look into it.


Offline Kakerlake

  • Hero Member
  • *****
  • Posts: 1676
  • Country: li
  • Reputation Power: 24
  • Kakerlake is a Mummy waiting to discover the path to glory.Kakerlake is a Mummy waiting to discover the path to glory.Kakerlake is a Mummy waiting to discover the path to glory.Kakerlake is a Mummy waiting to discover the path to glory.
  • Loyal supporter of Bunny
  • Awards: Slice of Elements 6th Birthday CakeSlice of Elements 5th Birthday CakeWar #7 Winner - Team AetherWeekly Tournament WinnerWinner of Dog Pit #2 - PvP EventBrawl #2 Winner - Team FireWinner of Warrior's Preparation - PvP EventSlice of Elements 4th Birthday CakeSlice of Elements 3rd Birthday CakeWeekly Tournament WinnerWinner of the Harry Potter PvP House Cup3rd Trials - Master of EarthWeekly Tournament WinnerWeekly Tournament WinnerCard Flavor Text #2 Competition WinnerSlice of Elements 2nd Birthday CakeWeekly Tournament Winner
Re: Adrenaline+ Antimatter bug https://elementscommunity.org/forum/index.php?topic=11705.msg144055#msg144055
« Reply #1 on: August 22, 2010, 02:59:28 pm »
The same thing happens with burrowed creatures.
If a creature has 11 attack and gets burrowed, it will have 5. If it had -11 attack, the new attack will be -6.

So my guess is, that it is a mistake made by rounding numbers. Since in my example it is always round down, the minus will get bigger.

No clue if it is intentional though ^^

Offline jumpoffduck

  • Jr. Member
  • **
  • Posts: 151
  • Reputation Power: 2
  • jumpoffduck is a Spark waiting for a buff.
Re: Adrenaline+ Antimatter bug https://elementscommunity.org/forum/index.php?topic=11705.msg144147#msg144147
« Reply #2 on: August 22, 2010, 05:07:23 pm »
Quoted from wiki:
Quote
Bin 2:  Attack power between 4 and 8.  Every attack power gets three attacks.  The attacks are equal to the original attack power, 2/3s of the attack power, and 1/3 of the attack power, rounded up.  For instance, a four attack creature deals 4 damage, then 3 (2 and 2/3rds rounded up), and then 2 damage (1 and 1/3rd rounded up).  A 7 attack creature deals 7 damage, 5, then 3, for a total of 15.
With 5 attack:
Attack 1 = 5
Attack 2 = ceiling(5*2/3) = ceiling(3.3333) = 4
Attack 3 = ceiling(5*1/3) = ceiling(1.6666) = 2

With -5 attack:
Attack 1 = -5
Attack 2 = ceiling(-5*2/3) = ceiling(-3.3333) = -3
Attack 3 = ceiling(-5*1/3) = ceiling(-1.6666) = -1

Everything works as expected.

Offline Glitch

  • Legendary Member
  • ******
  • Posts: 3730
  • Reputation Power: 65
  • Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.Glitch walks among the Immortals, legends and guardians of all time.
  • Awards: 1st Trials - Master of LifeElements Short Story Competition WinnerPoetry in the Spirit of Elements
Re: Adrenaline+ Antimatter bug https://elementscommunity.org/forum/index.php?topic=11705.msg144163#msg144163
« Reply #3 on: August 22, 2010, 05:46:11 pm »
If you read the wiki page on adrenaline, you'd know exactly why this happens.

The adrenaline mechanic decides secondary and tertiary attacks based on thirds, rounded up.

Oh whoops, looks like I was ninja'd =/

 

blarg: