URL:
<http://gna.org/patch/?2598>
Summary: Lua_ai get_aggression
Project: Battle for Wesnoth
Submitted by: nephro
Submitted on: Wed 23 Mar 2011 05:56:05 PM GMT
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
My first test patch.
- Added a function in ai/lua/core.cpp
- Added a line, that registers the new function with the Lua AI engine
Now we can call ai:get_aggression() from Lua, to get the aggression.
Tested in lua_ai scenario, seemed to work fine.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 23 Mar 2011 05:56:05 PM GMT Name: get_aggression.patch Size: 943B
By: nephro
<http://gna.org/patch/download.php?file_id=12694>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2598>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs