caravellex
01-18-2018, 01:09 AM
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.
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?
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.
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?