Abombhoney¶
This item is a toss item and as such, parts of its logic are based off the PeebleToss action.
Object movement¶
The object will move to (0.0, 0.0, -0.5) with a ymax of 5.0 instead.
DoDamage calls¶
| # | Conditions | attacker | target | damageammount | property | overrides | block |
|---|---|---|---|---|---|---|---|
| 1 | Done for each player party member whose hp is above 0 without an eatenby without plating and without a Shield condition |
null | The player party member | 10 + 2 * amount of BombPlus medals equipped on playerdata[currentturn] |
NoExceptions | empty array | false |
| 2 | Done for each enemy party members without a Shield condition and whose enemy id isn't Ahoneynation or Abomihoney |
null | The enemy party member | 10 + 2 * amount of BombPlus medals equipped on playerdata[currentturn] |
NoExceptions | empty array | false |
Effects on player party members¶
Only applies to those with an hp above 0 without an eatenby:
- If the player party member has the Shield condition, it is removed via RemoveCondition followed by their
shieldenabledset to false - If the above didn't apply and they don't have
plating, DoDamage 1 call happens with them. If they did had aplating, the DoDamage call won't happen, but theirplatingis set to false
Effects on enemy party members¶
- If the enemy party member has the Shield condition, it is removed via RemoveCondition followed by their
shieldenabledset to false - Otherwise, if their enemy id is
AhoneynationorAbomihoney, Heal is called on them to heal for 10hp - Otherwise, DoDamage 2 call happens on them
Effects on player party¶
- If not all of the applicable player party members above had a Shield condition:
- instance.
tpis increased by instance.maxtp* 0.4 floored clamped from 6 to 12. instance.tpis then clamped again from 0 to instance.maxtp
- instance.
Logic sequence¶
Splat1sound playsFusesound playsPrefabs/Objects/Abombnationinstantiated rooted at the object position- The object is destroyed
- Yield for 2.0 seconds
explosionparticles plays at thePrefabs/Objects/AbombnationpositionExplosion3sound playsSplat2sound playsPrefabs/Objects/Abombnationdestroyed- ShakeScreen with ammount of 0.25 for 0.75 time
- The player party members effects described above are performed
- The enemy party members effects described above are performed
Sprites/Objects/splatterinstantiated- The following is done exactly 3 times (the position and scale of the splatter are hardcoded):
- A new UI object called
splatis created childed to theGUICamerawith the corresponding position and scale that was hardcoded and a sortorder of -5 - index (between 0 and 2) with a flipX of false except for the second one - A DialogueAnim is added to
splatwith atargetscaleof its initial scale and ashrinkspeedof 0.15 - scale of
splatset to Vector3.zero (so it will grow to its hardcoded scale) splat'scolorset to FFBF00 (bright orange)- Yield for 0.025 seconds
- A new UI object called
- Over the course of 100.0 frames (only on the last 50.0 frames), the alpha of all the
splatcolors goes to 0.0 (transparent) - All the
splatare destroyed - If not all of the applicable player party members above had a Shield condition:
- ShowDamageCounter is called with type 2 (TP counter) with ammount of instance.
maxtp* 0.4 floored clamped from 6 to 12 starting at the attacker + Vector3.up and ending at (0.0, 2.0, 0.0) - instance.
tpis increased by the same ammount then clamped from 0 to instance.maxtp Heal2sound plays- Yield for 0.5 seconds
- ShowDamageCounter is called with type 2 (TP counter) with ammount of instance.