Quantcast

Skip translating SimulationCraft's "choose_target" mage operand.

Johnny C. Lam [12-27-14 - 20:45]
Skip translating SimulationCraft's "choose_target" mage operand.

"choose_target" is used to re-target the default/primary target in
SimulationCraft, but Ovale needs players to intelligently target units
on their own.
Filename
SimulationCraft.lua
diff --git a/SimulationCraft.lua b/SimulationCraft.lua
index f255116..61e73b8 100644
--- a/SimulationCraft.lua
+++ b/SimulationCraft.lua
@@ -1112,6 +1112,8 @@ EmitAction = function(parseNode, nodeList, annotation)

 	if action == "auto_attack" or action == "auto_shot" then
 		-- skip
+	elseif action == "choose_target" then
+		-- skip
 	elseif action == "elixir" or action == "flask" or action == "food" then
 		-- skip
 	elseif action == "snapshot_stats" then