PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 0ms RepoModel.GetById 4ms app.codeStats 0ms

/Data/simulator/test_fight_detail.lua

http://awoe.googlecode.com/
Lua | 25 lines | 10 code | 9 blank | 6 comment | 0 complexity | a3a612bdb6959bee24b3c3564958df4b MD5 | raw file
 1require "combat"
 2require "heros"
 3
 4
 5local equip = 1
 6local lvl = 80
 7
 8local heroia = create_hero_instance(heros.hero_str, lvl, equip)
 9local heroib = create_hero_instance(heros.hero_agi, lvl, equip)
10local heroic = create_hero_instance(heros.hero_int, lvl, equip)
11
12
13--fight2death(heroia, heroib, 5)
14--reset_hero_instance(heroia)
15--reset_hero_instance(heroib)
16
17--fight2death(heroib, heroic, 5)
18--reset_hero_instance(heroia)
19--reset_hero_instance(heroib)
20
21fight2death(heroic, heroia, 5)
22reset_hero_instance(heroia)
23reset_hero_instance(heroib)
24
25