Defense

Defense 1.0

Defense ability

Reduce damage caused by an entity!



Code (Text):
creator:
events:
'1':
event: DamageByEntityEvent
conditions: []
effects:
- 'GREATER_THAN=0,{EVENT_DAMAGE}-{ABILITY_LEVEL;strength}*0.2!IGNORE_CHECK:EVENT_DAMAGE=0!IGNORE_CHECK'
- 'GREATER_THAN=0,{EVENT_DAMAGE}-{ABILITY_LEVEL;strength}*0.2!IGNORE_CHECK!INVERSE:EVENT_DAMAGE={EVENT_DAMAGE}-{ABILITY_LEVEL;strength}*0.2!IGNORE_CHECK'
options:
- 'ACTION_BAR_MESSAGE'
secondary_events: []
Author
Mined
Downloads
13
Views
32
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Mined

  • Essential
    Essential
    Mobs with nametags cannot be killed (with a few exceptions)
  • Better
    Better
    servercmd
  • Anti-ChatPacketKick
    Anti-ChatPacketKick
    Get rid of Out-of-order chat packet kick
  • Revive
    Revive
    Get knocked out first before dying and be revived by someone with a specific item.
  • Teleport
    Teleport
    teleportation
Top