public override bool IsSameCondition(SSceneConditionBase condition) { if (condition == null) { return(false); } if (type == condition.type && monsterId == condition.GetIntParames(0) && group == condition.GetIntParames(1)) { return(hp < condition.GetIntParames(2)); } return(false); }
public override bool IsSameCondition(SSceneConditionBase condition) { if (condition == null) { return(false); } if (type == condition.type) { return(hp < condition.GetIntParames(0)); } return(false); }
public override bool IsSameCondition(SSceneConditionBase condition) { return(type == condition.type && randomId == condition.GetIntParames(0) && value >= condition.GetIntParames(1) && value <= condition.GetIntParames(2)); }