ClearBomb¶
This item is a toss item and as such, parts of its logic are based off the PeebleToss action.
Object movement¶
Since this targets everyone, the object will move to Vector3.zero with a ymax of 5.0 instead.
Item logic¶
- The object is destroyed
checkingdeadis set to a new ClearBombEffect coroutine (see the section below for details)- Yield until
checkingdeadis null
ClearBombEffect¶
This is a parameterless coroutine specifically made for this action. It sets checkingdead to null once completed:
IceBreaksound plays at 0.6 volumeimpactsmokeparticles plays at Vector3.zero- Yield for 0.3 seconds
impactsmokeparticles plays at (-3.0, 0.0, 0.0)- Yield for 0.3 seconds
impactsmokeparticles plays at (3.0, 0.0, 0.0)- Yield for 0.3 seconds
- ClearStatus is called on each enemy party members
- ClearStatus is called on each player party members
checkingdeadis set to null signaling that the coroutine is done