|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself. |
|
|
|
01-18-2018, 01:09 AM
|
Sarnak
|
|
Join Date: Sep 2010
Posts: 63
|
|
changing base damage data for classes?
Hello!
Ive been fiddling with changes base hand to hand melee damage for classes. The first thing I tried was adjusting hand to hand skill, but the damage remained the same.
I then found this code in attack.ccp, and I updated the values significantly for beastlord.
Code:
int Mob::GetHandToHandDamage(void)
{
if (RuleB(Combat, UseRevampHandToHand)) {
// everyone uses this in the revamp!
int skill = GetSkill(EQEmu::skills::SkillHandtoHand);
int epic = 0;
if (IsClient() && CastToClient()->GetItemIDAt(12) == 10652 && GetLevel() > 46)
epic = 280;
if (epic > skill)
skill = epic;
return skill / 15 + 3;
}
static uint8 mnk_dmg[] = { 99,
4, 4, 4, 4, 5, 5, 5, 5, 5, 6, // 1-10
6, 6, 6, 6, 7, 7, 7, 7, 7, 8, // 11-20
8, 8, 8, 8, 9, 9, 9, 9, 9, 10, // 21-30
10, 10, 10, 10, 11, 11, 11, 11, 11, 12, // 31-40
12, 12, 12, 12, 13, 13, 13, 13, 13, 14, // 41-50
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, // 51-60
14, 14 }; // 61-62
static uint8 bst_dmg[] = { 99,
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, // 1-10
, 12, 13, 14, 15, 16, 17, 18, 19, 20, // 11-20
22, 24, 26, 28, 30, 32, 34, 36, 38, 40, // 21-30
43, 46, 49, 52, 55, 58, 61, 64, 67, 70, // 31-40
10, 11, 11, 11, 11, 11, 11, 12, 12 }; // 41-49
after a server restart and playing around with different level beastlord, it seems to be returning the old values for fist damage and not the updated ones. Anyone know how to edit base punching damage?
|
|
|
|
01-18-2018, 01:23 AM
|
|
Developer
|
|
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
|
|
Not knowing what you changed, I would start with checking the RuleB(Combat, UseRevampHandToHand) setting in your database.
Make sure that reflects the section of code that you modified.
Not to patronize you..but, you did recompile and move the new binaries into your server folder?
__________________
Uleat of Bertoxxulous
Compilin' Dirty
|
01-18-2018, 03:38 AM
|
Sarnak
|
|
Join Date: Sep 2010
Posts: 63
|
|
I did not compile!
Im still new, Ill get on that, ty
|
01-18-2018, 01:38 PM
|
Demi-God
|
|
Join Date: Apr 2008
Location: MA
Posts: 1,164
|
|
By default the rules use classic formulas, if you want to use the new formulas that scale with skill level, you need to turn the rule on.
Since there are multiple rule sets, this isn't exactly simple to tell you what to do :P
|
01-18-2018, 03:31 PM
|
Sarnak
|
|
Join Date: Sep 2010
Posts: 63
|
|
ty for reply!
Total noob and didn't realize I needed to compile.
After compiling the original changes to the BST damage table the damages worked! so editing those for monk and beastmaster will change punch damage.
You could copy everything and change the class values to create a table for other classes as well perhaps?
Pretty proud of my first ever code manipulation and change
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 09:02 AM.
|
|
|
|
|
|
|
|
|
|
|
|
|