Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #32  
Old 06-17-2005, 08:46 PM
arigo
Fire Beetle
 
Join Date: May 2005
Posts: 20
Default

To fix procing, haste and a few other commands first replace
Code:
GetProcChances(ProcChance, ProcBonus);
Around line 2387 in mob.cpp with
Code:
ProcChance = GetProcChances(ProcChance, ProcBonus);
Around line 213 in bonuses.cpp replace

Code:
      if(common.ProcChance > 0) {
		newbon->ProcChance += common.(I forgetwhat was here);
	         }
with

Code:
if(common.ProcRate > 0) {
		newbon->ProcChance += common.ProcRate;
	}
in command.cpp around line 4142/3 replace
Code:
c->Message(0, "  Magic: %i  SpellID: %i  Proc Level: %i DBCharges: %i  CurCharges: %i", item->Common.Magic, item->Common.Click.Effect, item->Common.Click.Level, item->Common.MaxCharges, inst->GetCharges());
With
Code:
c->Message(0, "  Magic: %i  SpellID: %i  Proc Level: %i DBCharges: %i  CurCharges: %i", item->Common.Magic, item->Common.Proc.Effect, item->Common.Proc.Level, item->Common.MaxCharges, inst->GetCharges());
AND Replace
Code:
c->Message(0, "  EffectType: 0x%02x  CastTime: %.2f", (int8) item->Common.Click.Type, (double) item->Common.CastTime/1000);
with
Code:
c->Message(0, "  EffectType: 0x%02x  CastTime: %.2f", (int8) item->Common.Proc.Type, (double) item->Common.CastTime/1000);
Around lines 182/183 in bonuses.cpp replace
Code:
if(common.Click.Type == ET_WornEffect) {
		if(newbon->haste < (sint8)item->Common.Haste)
			newbon->haste = item->Common.Haste;
WITH
Code:
if(newbon->haste < (sint8)item->Common.Haste){
			newbon->haste = item->Common.Haste;
I have the feeling I'm forgetting something but I don't know what. I want to find the opcode for /assist, but I don't know how to start.

Last edited by arigo; 06-18-2005 at 04:53 AM..
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 03:20 PM.


 

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