diff --git a/data/ai/lua/extCAexample.lua b/data/ai/lua/extCAexample.lua index 3a88d825ec04..43f16ea82592 100644 --- a/data/ai/lua/extCAexample.lua +++ b/data/ai/lua/extCAexample.lua @@ -2,13 +2,13 @@ example_ca = {} -function example_ca:evaluation(ai) +function example_ca:evaluation() wesnoth.message("External CA evaluation says hi.") return 10000 end -function example_ca:execution(ai) +function example_ca:execution() wesnoth.message("External CA execution attacks.") -- Note that there is no check whether these attacks are possible. diff --git a/data/ai/scenarios/scenario-lua_ai.cfg b/data/ai/scenarios/scenario-lua_ai.cfg index 72dfe3635ce7..78fce81ba7b2 100644 --- a/data/ai/scenarios/scenario-lua_ai.cfg +++ b/data/ai/scenarios/scenario-lua_ai.cfg @@ -105,8 +105,6 @@ Gs^Fp , Gs^Fp , Wwf , Wwf , Mm , Rd name=external_CA id=external_CA location="ai/lua/extCAexample.lua" - eval_parms="" - exec_parms="" [/candidate_action] [/stage] [/ai]