ToME: questions about Combat Training

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Aksarov
Low Yeek
Posts: 8
Joined: Tue Jul 01, 2014 3:08 pm

ToME: questions about Combat Training

#1 Post by Aksarov »

So, here goes few questions:

1st, where it is defined(or where it is possible to define) what classes can(or cant) get Combat Training from Last Hope?
2nd, how can I find out where, in code, something directly references Armour Training, Combat Accuracy, Weapon Combat or Dagger Combat(not including reading all files by myself)(if someone would provide list of all such places that would be of immensely helpful)?
3rd, where it is defined, that brawler talents are disabled while in massive armour?
4th, where it is defined, what stats equipment(gloves in this case) use for power values?

Yea, I know these are a bit messy(especially 2nd), but I hope someone can answer them(or, atleast, point me to answers).

stinkstink
Spiderkin
Posts: 543
Joined: Sat Feb 11, 2012 1:12 am

Re: ToME: questions about Combat Training

#2 Post by stinkstink »

Aksarov wrote:1st, where it is defined(or where it is possible to define) what classes can(or cant) get Combat Training from Last Hope?
All classes that don't start with Combat Training can buy it, but it's handled in data\chats\last-hope-weapon-store.lua
2nd, how can I find out where, in code, something directly references Armour Training, Combat Accuracy, Weapon Combat or Dagger Combat(not including reading all files by myself)(if someone would provide list of all such places that would be of immensely helpful)?
In mod\class\interface\Combat.lua:
Armour Training: combatArmorHardiness(), combatCritReduction(), combatArmor()
Combat Accuracy: combatAttackBase()
Weapon Mastery: weapon_talents table, combatGetTraining() and combatCheckTraining() are used to determine the mastery for the equipped weapon, and combatDamage() and combatPhysicalpower() apply the effects. addCombatTraining() is used to allow addons to add entries to the weapon_talents table without overwriting it entirely.
3rd, where it is defined, that brawler talents are disabled while in massive armour?
I'm not aware of there being any such function.
4th, where it is defined, what stats equipment(gloves in this case) use for power values?
If you mean where the stat damage modifiers like 100% str etc are defined, they're in the item definitions (data\general\objects\gloves.lua}. If you're asking where they're calculated, it's in mod\class\interface\Combat.lua combatDamage()

Aksarov
Low Yeek
Posts: 8
Joined: Tue Jul 01, 2014 3:08 pm

Re: ToME: questions about Combat Training

#3 Post by Aksarov »

Thank you so much, especially for 2nd, I would have to read code for hours to find those!

As for 3rd I managed to find it myself(it is defined in mod/class/Actor.lua at _M:preUseTalent), so everything is solved now.

kathi
Posts: 1
Joined: Fri Nov 07, 2014 11:30 am

Re: ToME: questions about Combat Training

#4 Post by kathi »

I noticed in the character guides that the option to boost a talent tree (by spending a category point on it) doesn't seem to be used very often, in general. The only tree I've seen this recommended for is pugilism (brawler). I guess it's because of diminishing returns? Is there no other talent tree worth boosting?
We provide CLO-001 exam questions and answers to pass certkiller gmat with online exam wikipedia itil and Cornell University you can also get best quality PMI along with selftestengine mcat for your guaranteed Intel

Post Reply