// called by engine bool RaiseUseSkillOnMe(Critter who_use, int skill) { if (UseSkillOnMe != null) { var e = new CritterUseSkillOnMeEventArgs(this, who_use, skill); UseSkillOnMe(this, e); return(e.Prevent); } return(false); }
// called by engine bool RaiseUseSkillOnMe(Critter who_use, int skill) { if (UseSkillOnMe != null) { var e = new CritterUseSkillOnMeEventArgs(this, who_use, skill); UseSkillOnMe(this, e); return e.Prevent; } return false; }