forked from ModDamage/ModDamage
-
Notifications
You must be signed in to change notification settings - Fork 0
Switch: Biome
1cec0ld edited this page Jul 18, 2012
·
3 revisions
Syntax: switch.{entity}.biome
Description: Switches based on the specified entity's Biome. Cases for this switch include both Biome aliases and literals.
Example:
Damage: #Change defensive buffs based on Biome for the group HotHeads.
- 'if target.group.HotHeads':
- 'switch.target.biome':
_HotPlaces: '-2'
_ColdPlaces: 'mult.2'
Aliases:
Biome:
HotPlaces:
- 'DESERT'
- 'HELL'
ColdPlaces:
- 'ICE_DESERT'
- 'TAIGA'
- 'TUNDRA'See also: Group, Addition, Multiplication