Fixed tooltips and some other minor bugs yesterday.
Got the random weapon damage working.
You can grab a working, bug-less version from GitHub:
https://github.com/Zireael07/Underdark.
My notes:
PARTIALLY WORKING:
- tie hit points to hit die
- limit total hitpoints at start (limited from 2nd turn onwards)
TO-DO:
- feat select
- feats talents_types = {
["general"]={true, 0},
},
- Favored Classes'work by being +10% exp to that class
- skills +5, +10, +15, +20 [handle them with talents and maybe loops]
LATER:
- d20 rolls
- saving throws (Fort Ref Will)
- crits
- randomize attributes in base
- XP charts ( ActorLevel.exp_chart = function(level) return 1000*level*(level+1)/2 end )
- on-screen hp, level, exp, depth display
- level up screen
SOME TIME IN THE FUTURE:
- ranged combat
- hide/move silently
- sneak attack
- some spells
- flanking
- flat-footed (foes in range?)
- metamagic as sustains...and just assume every 'mage' is a sorcerer; have the Empower Spell sustain, you turn it on, cast a spell,
it treats all variable as *1.5 but calculates cost as if it was 2 higher. Just for ease of use I'd suggest turning the sustain off after that
- randomized item names
- level feelings
- eating corpses
- bones
DIFFICULT:
- stairs having a chance of not changing the depth
- remove staircases from which you arrived
***
As I said before - any helpers are welcome.