mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-01-05 06:57:37 +01:00
Fixed an issue wiht passive skills
This commit is contained in:
parent
5457ce8e59
commit
0146a2f643
@ -114,7 +114,7 @@ public class ClassSkill implements CooldownObject {
|
||||
}
|
||||
|
||||
public PassiveSkill toPassive(PlayerData caster) {
|
||||
Validate.isTrue(!skill.getTrigger().isPassive(), "Skill is active");
|
||||
Validate.isTrue(skill.getTrigger().isPassive(), "Skill is active");
|
||||
return new PassiveSkill("MMOCorePassiveSkill", toCastable(caster), EquipmentSlot.OTHER, ModifierSource.OTHER);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user