Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-18-2018, 01:09 AM
caravellex
Sarnak
 
Join Date: Sep 2010
Posts: 63
Default 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?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:59 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3