Commit graph

13 commits

Author SHA1 Message Date
Enno Rehling
3e67e7fb4e Lua unit:cast_spell should only cast spells the unit knows.
do not allow payment for spells cast at level <= 0
2012-05-29 20:58:33 -07:00
Enno Rehling
44e5c60c96 test added: when a spell is not found, we do not have to pay for it 2012-05-29 20:44:25 -07:00
Enno Rehling
cb0e406733 repair lua spells (bad stack index)
add a whole bunch more spell tests
allow spell tests to disable fumbles
2012-05-29 18:45:50 -07:00
Enno Rehling
62a91f4558 kill tybied in E3, make common spells the source for random choices 2012-05-26 14:19:35 -07:00
Enno Rehling
5547893be7 fix create_roi function in E3 2012-05-26 10:16:39 -07:00
Enno Rehling
d58e853074 allow setting a faction's magic school from Lua 2012-05-25 20:15:57 -07:00
Enno Rehling
24cba1bea7 testing spells in the example server also
WIP: create_roi is broken until mages have spellbooks
2012-05-25 19:55:47 -07:00
Enno Rehling
bcd6991703 testing spells is a lot easier when you can disable fumbles
all tun_tests tests pass
2012-05-19 18:50:28 -07:00
Enno Rehling
cc9e95a2ab spells.lua is a bad file for example and meropis, it tests things that not every game has.
lua_pushinteger() must be new, I've never used it before.
all tests in meropis and example pass.
2011-02-26 23:21:12 -08:00
Enno Rehling
d033e7156c Simple tests for persistent attributes and a fix. 2011-02-19 06:13:24 -08:00
Enno Rehling
a5e712580f undo more CRLF screwups. 2010-08-08 01:14:01 -07:00
Enno Rehling
14b3ed309f use external folder for all libraries (VS2010)
new repository structure
2010-08-07 23:05:54 -07:00
Enno Rehling
72505ab8f3 moving to a new repository layout.
step 1: shared folder.
2010-08-07 22:07:17 -07:00