Topic: Teeworlds Fightcalc (wtf?)
Hiho!
I heard, that teeworlds will be supporten LUA in the future (I hope the mods, too), so I thought I should learn LUA, to make my own mods. (I have lots of ideas, but I'm too shy to post them )
I made a small programm, that simulates a battle in Teeworlds. All players have got the same skill, because I don't want do add a skill-system like "player 1 is better"..
In the current version, a few things are already included:
All weapons + changes + chances of hits
Hearts and shields
Scorelimits
Handycaps
Player names
Hooking the enemy into the water with the chance to drown, too. (Both can escape)
More than 2 players
Everything is automatic and 100% RANDOM. This means the only thing you can do is changing the code.
I don't know how to make something like an executable with LUA, so I'll post the code here and you can paste it into your editor.. (If someone knows how to make that, PLEASE tell me!)
Have fun and post bugs here, please! (I hope this IS Teeworlds-related.. I mean.. It's a totally useless Teeworlds simulator!)
- Pocram