예제 #1
0
		public void SetAITargetDefinition(TargetAdder adder, TargetEvaluator eval, params TargetFilter[] filters)
		{
			AITargetHandlerDefintion = new TargetDefinition(adder, filters);
			if (eval != null)
			{
				CustomTargetEvaluator = eval;
			}
		}
예제 #2
0
파일: Spell.cs 프로젝트: ebakkedahl/WCell
 public void OverrideAITargetDefinitions(TargetDefinition def, TargetEvaluator evaluator = null)
 {
     ForeachEffect(
         effect => effect.AITargetHandlerDefintion = def);
     if (evaluator != null)
     {
         OverrideCustomTargetEvaluators(evaluator);
     }
 }
예제 #3
0
		public void SetAITargetDefinition(TargetAdder adder, params TargetFilter[] filters)
		{
			AITargetHandlerDefintion = new TargetDefinition(adder, filters);
		}