Example #1
0
 public override bool Proc(EntityParent theOwner)
 {
     int tmpSkillUseCount = theOwner.GetSkillUseCount(_skillId);
     bool rnt =  CmpTypeMethod.Cmp(_cmp, tmpSkillUseCount, _useCount);
     if (rnt == true)
     {
         //Mogo.Util.LoggerHelper.Debug("AI:" + "CmpSkillUseCount:" + _skillId + " true");
     }
     else
     {
         //Mogo.Util.LoggerHelper.Debug("AI:" + "CmpSkillUseCount:" + _skillId + "false");
     }
     return rnt;
 }