示例#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);
		}