예제 #1
0
    public override bool trigger()
    {
        var selectedItem      = ItemPack.shared.findItem <MMX.HumanItem>(itemId);
        var selectedItemCount = selectedItem != null ? selectedItem.count : 0;

        return(comparisonOperator.comparison(selectedItemCount, count));
    }
예제 #2
0
 public override bool trigger()
 {
     return(comparisonOperator.comparison(VariableManager.shared[conditionKey], conditionValue));
 }