Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2012, 11:10 PM
Cowboy6534
Sarnak
 
Join Date: Jul 2007
Posts: 59
Default

It was a rewrite of the following code that is found in

if(RuleB(Combat, UseIntervalAC))
damage = (max_dmg+eleBane);
else
damage = MakeRandomInt((min_dmg+eleBane),(max_dmg+eleBane)) ;

and not a changing of settings.

Yes cavedude I will share the code with you. I want to make a special case for raid mobs or if you want to do that after I show you the code thats fine. A column to npc_types called isRaid will need to be added to check and see if its a raid target because they operate differently as far as this goes than normal mobs.

Edit: since you know all of the eqemu code better than me you might see a better way to check for raid target than what I suggested with a new column. I was thinking along the lines of the new isQuest column.
Reply With Quote
Reply


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 11:44 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3