*Author

Offline CactusKingTopic starter

  • Sr. Member
  • ****
  • Posts: 644
  • Country: au
  • Reputation Power: 9
  • CactusKing is a Spark waiting for a buff.
  • I eat shriekers for breakfast
  • Awards: Slice of Elements 9th Birthday CakeWeekly Tournament WinnerWeekly Tournament WinnerSlice of Elements 8th Birthday Cake
Skull Shield and 0hp creatures http://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.
Real monsters lie between the :light and the shade

Offline moehrpi

  • Full Member
  • ***
  • Posts: 263
  • Country: de
  • Reputation Power: 3
  • moehrpi is a Spark waiting for a buff.
  • Not War
  • Awards: Elements League 3/2017 3rd PlaceWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner
Re: Skull Shield and 0hp creatures http://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: 644
  • Country: au
  • Reputation Power: 9
  • CactusKing is a Spark waiting for a buff.
  • I eat shriekers for breakfast
  • Awards: Slice of Elements 9th Birthday CakeWeekly Tournament WinnerWeekly Tournament WinnerSlice of Elements 8th Birthday Cake
Re: Skull Shield and 0hp creatures http://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.
Real monsters lie between the :light and the shade

Offline iancudorinmarian

  • Master of Entropy
  • *
  • ******
  • *****
  • Posts: 3190
  • Country: ro
  • Reputation Power: 54
  • iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.
  • Master of Ponies. Eternally salty about War#11 EC.
  • Awards: Slice 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 http://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.
Signature deck
War #8 :air soldier
War #9, #10, #11 :entropy general

Offline moehrpi

  • Full Member
  • ***
  • Posts: 263
  • Country: de
  • Reputation Power: 3
  • moehrpi is a Spark waiting for a buff.
  • Not War
  • Awards: Elements League 3/2017 3rd PlaceWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament WinnerWeekly Tournament Winner
Re: Skull Shield and 0hp creatures http://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

  • Master of Entropy
  • *
  • ******
  • *****
  • Posts: 3190
  • Country: ro
  • Reputation Power: 54
  • iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.iancudorinmarian brings all the vitality and activity of a Life Nymph.
  • Master of Ponies. Eternally salty about War#11 EC.
  • Awards: Slice 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 http://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.
Signature deck
War #8 :air soldier
War #9, #10, #11 :entropy general

 

blarg: