Skip to content
KoryuObihiro edited this page Aug 18, 2011 · 7 revisions

Syntax: $entityeffect.explode

Description: Calculated Effect that generates an explosion at the location of the specified entity. Returned int is used to calculation explosion power.

Example:

Damage: #Make chickens unstable. Force players to hit them gently.
    - 'if target.type.Chicken and event.value.greaterthan.4':
        - 'targeteffect.explode': 30

See also: [Entity Type], [Event Value Comparison]

Clone this wiki locally