mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-23 00:05:52 +01:00
Added passive & active categories by default
This commit is contained in:
parent
5edc6ac999
commit
b05ced2660
@ -32,6 +32,10 @@ public class RegisteredSkill implements Unlockable {
|
||||
categories = config.getStringList("categories");
|
||||
// Trigger type
|
||||
triggerType = getHandler().isTriggerable() ? (config.contains("passive-type") ? TriggerType.valueOf(UtilityMethods.enumName(config.getString("passive-type"))) : TriggerType.CAST) : TriggerType.API;
|
||||
if(triggerType.isPassive())
|
||||
categories.add("passive");
|
||||
else
|
||||
categories.add("active");
|
||||
|
||||
// Load default modifier formulas
|
||||
for (String mod : handler.getModifiers())
|
||||
|
Loading…
Reference in New Issue
Block a user