Sueta

Hearts | AdvancedAbilities - Ability [Add-on] [StatsAbilitie

1.0

YAML ability

·Plugin

Hearts ability!

Add more hearts!

out.png
out2.png

# 20 = DEFAULT MAX HEALTH 
creator: 
  events: 
    '1': 
      event: AbilityLevelEvent 
      conditions: [] 
      effects: 
      # {ABILITY_LEVEL;hearts} = Player ability level | == +1 heart (2 HEALTH) per level. 
      - 'MAX_HEAL=20+{ABILITY_LEVEL;hearts}*2!IGNORE_CHECK' 
      - 'HEAL={SELF_MAX_HEALTH}!IGNORE_CHECK' 
      options: [] 
      secondary_events: [] 
    '2': 
      event: AbilityEnableEvent 
      conditions: [] 
      effects: 
      - 'MAX_HEAL=20+{ABILITY_LEVEL;hearts}*2!IGNORE_CHECK' 
      - 'HEAL={SELF_MAX_HEALTH}!IGNORE_CHECK' 
      options: [] 
      secondary_events: [] 
    '3': 
      event: AbilityDisableEvent 
      conditions: [] 
      effects: 
      - 'MAX_HEAL=20' 
      - 'HEAL=20' 
      options: [] 
      secondary_events: [] 
    '4': 
      event: PlayerLoadedEvent 
      conditions: [] 
      effects: 
      - 'MAX_HEAL=20+{ABILITY_LEVEL;hearts}*2!IGNORE_CHECK' 
      - 'HEAL={SELF_MAX_HEALTH}!IGNORE_CHECK' 
      options: [] 
      secondary_events: [] 
    '5': 
      event: PlayerRespawnEvent 
      conditions: [] 
      effects: 
      - 'MAX_HEAL=20+{ABILITY_LEVEL;hearts}*2!IGNORE_CHECK' 
      - 'HEAL={SELF_MAX_HEALTH}!IGNORE_CHECK' 
      options: [] 
      secondary_events: []

Similar projects

Plugin →