-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
- Add new option
Triggerto 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