Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Switch: Ranged Element

KoryuObihiro edited this page Aug 19, 2011 · 3 revisions

Syntax: switch.event.$rangedelement

Description: Switches based on the Ranged Element in the event. Cases are Ranged Elements - see the [config reference] for more information.

Example:

Damage: #Make eggs explode on contact with something living.
    - 'switch.rangedelement':
        Egg:
            - 'targeteffect.explode': '2'

See also: Explode, Addition

Clone this wiki locally