*Author

Offline CactusKingTopic starter

  • Sr. Member
  • ****
  • Posts: 842
  • Country: au
  • Reputation Power: 11
  • CactusKing is taking their first peeks out of the Antlion's burrow.CactusKing is taking their first peeks out of the Antlion's burrow.
  • I eat shriekers for breakfast
  • Awards: Slice of Elements 11th Birthday CakeElements League 1/2018 2nd PlaceCard Design Competition - Rule BenderSlice of Elements 9th Birthday CakeWeekly Tournament WinnerWeekly Tournament WinnerSlice of Elements 8th Birthday Cake
Skull Shield and 0hp creatures https://elementscommunity.org/forum/index.php?topic=66035.msg1276715#msg1276715
« on: May 11, 2018, 07:09:38 am »
I was playing a ball lightning fractal deck against someone (AI) who had a skull buckler equipped, and when the balls attacked every single one of them would turn into a skeleton. I fractalled some more and eventually had a full field of them. I don't think this was intended but I think it's due to some sort of 'if' event in the code that triggers if a creature dies while attacking and skull shield is in play, regardless of it it was the shield that killed it.
It would be interesting to see if poisoned creatures always turn into skeletons on death when this shield is in play, based on the same bug.
I spilt my blood against the :earth
         Just to see the world in colour.

Offline moehrpi

  • Sr. Member
  • ****
  • Posts: 530
  • Country: de
  • Reputation Power: 9
  • moehrpi is a Spark waiting for a buff.
  • Not War
  • Awards: Last Tournament Before Flashpocalypse (2021.01.10.)Weekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner	- March 312018 - PvP World ChampionWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner April 14thWeekly Tournament WinnerElements League 3/2017 3rd PlaceWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner
Re: Skull Shield and 0hp creatures https://elementscommunity.org/forum/index.php?topic=66035.msg1276719#msg1276719
« Reply #1 on: May 11, 2018, 08:45:51 am »
Skull Shield always triggers for 0-HP creatures. For 1-HP creates the probability is 1/2; for 2-HP creatures it should be 1/3. It works as intended, give Skull Shield some love.

Offline CactusKingTopic starter

  • Sr. Member
  • ****
  • Posts: 842
  • Country: au
  • Reputation Power: 11
  • CactusKing is taking their first peeks out of the Antlion's burrow.CactusKing is taking their first peeks out of the Antlion's burrow.
  • I eat shriekers for breakfast
  • Awards: Slice of Elements 11th Birthday CakeElements League 1/2018 2nd PlaceCard Design Competition - Rule BenderSlice of Elements 9th Birthday CakeWeekly Tournament WinnerWeekly Tournament WinnerSlice of Elements 8th Birthday Cake
Re: Skull Shield and 0hp creatures https://elementscommunity.org/forum/index.php?topic=66035.msg1276720#msg1276720
« Reply #2 on: May 11, 2018, 08:49:33 am »
My bad, thought it was a consistent chance for everything.
I spilt my blood against the :earth
         Just to see the world in colour.

Offline iancudorinmarian

  • Legendary Member
  • ******
  • Posts: 3772
  • Country: ro
  • Reputation Power: 67
  • iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.
  • Master of Ponies.Eternally salty about War#11 SEC.
  • Awards: Slice of Elements 11th Birthday CakeSlice of Elements 10th Birthday CakeWar #12 Winner - Team Darkness12th Trials - Master of EntropyWeekly Tournament WinnerSlice of Elements 9th Birthday CakeWeekly Tournament Winner11th Trials - Master of EntropySlice of Elements 8th Birthday CakeWinner of TrinityWinner of Team PvP #710th Trials - Master of EntropySlice of Elements 7th Birthday CakeWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner9th Trials - Master of EntropyWeekly Tournament WinnerSlice of Elements 6th Birthday CakeWeekly Tournament WinnerWeekly Tournament WinnerSlice of Elements 5th Birthday Cake
Re: Skull Shield and 0hp creatures https://elementscommunity.org/forum/index.php?topic=66035.msg1276721#msg1276721
« Reply #3 on: May 11, 2018, 08:50:10 am »
Skull Shield formula:

p = 1/(2*hp)

p - probability of creature dying
hp - creature's hp

So a 0 hp creature theoretically has a chance of dying of infinity.

Offline moehrpi

  • Sr. Member
  • ****
  • Posts: 530
  • Country: de
  • Reputation Power: 9
  • moehrpi is a Spark waiting for a buff.
  • Not War
  • Awards: Last Tournament Before Flashpocalypse (2021.01.10.)Weekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner	- March 312018 - PvP World ChampionWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner April 14thWeekly Tournament WinnerElements League 3/2017 3rd PlaceWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner
Re: Skull Shield and 0hp creatures https://elementscommunity.org/forum/index.php?topic=66035.msg1276757#msg1276757
« Reply #4 on: May 12, 2018, 09:19:47 am »
So a 0 hp creature theoretically has a chance of dying of infinity.

That's a bold statement. :o

Thanks for the correct formula. ;)

Offline iancudorinmarian

  • Legendary Member
  • ******
  • Posts: 3772
  • Country: ro
  • Reputation Power: 67
  • iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.iancudorinmarian walks among the Immortals, legends and guardians of all time.
  • Master of Ponies.Eternally salty about War#11 SEC.
  • Awards: Slice of Elements 11th Birthday CakeSlice of Elements 10th Birthday CakeWar #12 Winner - Team Darkness12th Trials - Master of EntropyWeekly Tournament WinnerSlice of Elements 9th Birthday CakeWeekly Tournament Winner11th Trials - Master of EntropySlice of Elements 8th Birthday CakeWinner of TrinityWinner of Team PvP #710th Trials - Master of EntropySlice of Elements 7th Birthday CakeWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner9th Trials - Master of EntropyWeekly Tournament WinnerSlice of Elements 6th Birthday CakeWeekly Tournament WinnerWeekly Tournament WinnerSlice of Elements 5th Birthday Cake
Re: Skull Shield and 0hp creatures https://elementscommunity.org/forum/index.php?topic=66035.msg1276758#msg1276758
« Reply #5 on: May 12, 2018, 09:35:56 am »
So a 0 hp creature theoretically has a chance of dying of infinity.

That's a bold statement. :o

Thanks for the correct formula. ;)
Well, obviously EtG's code checks if the creatures's hp is 0 and just assigns the probability a value of 1 :P

I just thought it's funny to think about it that way.

 

anything
blarg: