Brawler Preview w/diff (also need help with class.object)
Posted: Wed Mar 23, 2011 4:30 am
I hope that diff works, had to make it a txt file because the forum doesn't like the diff extension. Note that's a b21 diff (stdout has been fickle on the SVN lately so I'm stuck developing on a release copy).
Anyway here's what I'm currently in need of help with. I'm trying to get the object tooltip to read the self.combat bonuses I've added to gloves and gauntlets.
Here's an example of the relevant code I'm trying to get class.object to recognize.
That wielder = { combat = {blah, blah blah}}, basically needs to show up when you mouse over the item so players know what's there. Any thoughts on how to do that? I tried a couple of different things but didn't get very far with it.
Also the class isn't finished
The diff is just a preview. Still a lot of balancing needs to go into it and I need to rearrange the pugilism tree a bit to account for some other changes I want to make. Also need to finish the martial-arts (advanced) tree and figure out what I'm going to do with the other advanced tree if I'm going to do one. Still though any feedback would be appreciated.
Anyway here's what I'm currently in need of help with. I'm trying to get the object tooltip to read the self.combat bonuses I've added to gloves and gauntlets.
Here's an example of the relevant code I'm trying to get class.object to recognize.
Code: Select all
newEntity{ base = "BASE_GLOVES",
name = "drakeskin leather gloves",
level_range = {40, 50},
cost = 10,
material_level = 5,
wielder = {
combat_armor = 3,
combat = {
dam = resolvers.rngavg(23, 28),
apr = 3,
physcrit = 10,
physspeed = -0.4,
dammod = {dex=0.4, str=-0.6, cun=0.4 },
damrange = 1.2,
},
},
}
Also the class isn't finished
