Skip to content

Passive skills triggers #151

@NeumimTo

Description

@NeumimTo
  • Add new option Trigger to active skills
  • The option turns the skill into passive that triggers automatically when condition is met

For example:

SkillTree.conf

  {
  SkillId: "some_skill"
  Trigger {
     Id: "damage_taken"     
     Settings {
         DamageMin: $damage_received
         DamageType: "minecraft:physical"
     }
  } 
  Settings {
        cooldown: 10000
        cooldown_levelbonus: 10000
        damage_received: 50
        damage_received_levelbonus: -2
  } 
  ...
  }

Useful triggers that i could implement by default:

entity_kill
level_up
damage_taken
health_below_treshold
mana_below_treshold
teleport
heal

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions