forked from ModDamage/ModDamage
-
Notifications
You must be signed in to change notification settings - Fork 0
Routine: Unknown Hurt
ricochet1k edited this page Jul 1, 2012
·
1 revision
Syntax: {entity}effect.unknownhurt
Description: Hurts the referred entity with an unknown source of damage. Unlike the Hurt routine, this will not cause mobs to target the attacking entity.
Examples:
Damage: # Ninjas can do "unknown" damage when they sneak! Be careful - this may deprive them of a hard-earned kill message.
- 'if attacker.group.ninja and attacker.issneaking':
- 'targeteffect.unknownhurt': '+0' # Add nothing to the event value, which is passed into the Calculation.
- '0' # Set the original damage event's value to 0.