b1760e6e by Barry

Finished the first round of feral skills.

1 parent 93d98e04
No preview for this file type
...@@ -1282,7 +1282,7 @@ def check_arena(): ...@@ -1282,7 +1282,7 @@ def check_arena():
1282 winner = 1 1282 winner = 1
1283 while fighting: 1283 while fighting:
1284 actions = battle_arena.step() 1284 actions = battle_arena.step()
1285 time.sleep(4) 1285 time.sleep(3)
1286 out_str = "" 1286 out_str = ""
1287 for action in actions: 1287 for action in actions:
1288 # TODO: Decide if I should merge magicresistaction with miss action 1288 # TODO: Decide if I should merge magicresistaction with miss action
...@@ -1306,7 +1306,7 @@ def check_arena(): ...@@ -1306,7 +1306,7 @@ def check_arena():
1306 # give a small amount to the loser 1306 # give a small amount to the loser
1307 if result: 1307 if result:
1308 out_str += xp_msg 1308 out_str += xp_msg
1309 result, xp_msg = monster2.add_xp(5) 1309 result, xp_msg = monster2.add_xp(action.losing_xp)
1310 if result: 1310 if result:
1311 out_str += xp_msg 1311 out_str += xp_msg
1312 winner = 1 1312 winner = 1
...@@ -1318,7 +1318,7 @@ def check_arena(): ...@@ -1318,7 +1318,7 @@ def check_arena():
1318 # give a small amount to the loser 1318 # give a small amount to the loser
1319 if result: 1319 if result:
1320 out_str += xp_msg 1320 out_str += xp_msg
1321 result, xp_msg = monster.add_xp(5) 1321 result, xp_msg = monster.add_xp(action.losing_xp)
1322 if result: 1322 if result:
1323 out_str += xp_msg 1323 out_str += xp_msg
1324 winner = 2 1324 winner = 2
......