[BUG] party conditions not working
Skills with a Party condition are never executed, regardless of whether the condition is true or false.
Tested with this skills (triggered by MythicRPG - skill{s=Class_Attack_Party;sync=true} ~onAttack):
Class_Attack_Party:
Skills:
- setvariable{var=skill.msg;type=STRING;value="trigger:<trigger.name> caster:<caster.type.name> target:<target.name>/<target.entity_type> a=<skill.var.damage-amount> t=<skill.var.damage-type> c=<skill.var.damage-cause>"}
- delay 0
- log{m="Class_Attack_Party <skill.var.msg>"} @None
- log{m="Party YES"} @None ?dungeonparty
- log{m="Party NO"} @None ?!dungeonparty
- skill{s=Class_Attack_Party_No}
- skill{s=Class_Attack_Party_Yes}
- log{m="Party DONE"} @None
Class_Attack_Party_Yes:
Conditions:
- dungeonparty true
Skills:
- log{m="Party YES"} @None
Class_Attack_Party_No:
Conditions:
- dungeonparty false
Skills:
- log{m="Party NO"} @None
results in the following log output:
[15:30:02 INFO]: [MythicMobs] Class_Attack_Party trigger:Pig caster:HugoHuetzel target:Pig/PIG a=8.0 t=UNDEFINED c=ENTITY_ATTACK
[15:30:02 INFO]: [MythicMobs] Party DONE
It should be output either "Party YES" or "Party NO" when testing against true and false (With the pig as target, NO should probably come)
Edited by hugohuetzel