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

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2011, 07:06 PM
Ueguvil
Hill Giant
 
Join Date: Mar 2004
Posts: 139
Default Donating for stat alterations

I was hoping I could get one of the many great coders here to make some rules that would allow a little more customization with how stats effect PCs. Pretty much I'd like it to be like Shards of Dalaya.

STR - attack
STA - hp (no changes needed)
DEX - proc rate and hit chance
AGI - avoidance rate
WIS - mana pool (no changes needed)
INT - mana pool (no changes needed)
CHA - affects chance of mob resisting your spell (plus current charm effects)

With rules that allow you to tinker with the exact values much like the current rule for DEX on proc chance. Would this be much work to implement? I'd happily donate $20 via paypal for someone to do this, assuming it would be allowed into the binary code as an optional rule. That way anyone else who wanted to use it would be welcome to as well.
Reply With Quote
  #2  
Old 06-06-2011, 10:41 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 270
Default

I could see this being done with rules, but since most servers have varying stat curves, modifying the source directly is probably easiest.

Most of the work is going to be in
zone/attack.cpp (mob::CheckHitChance, Client::Attack)
and
zone/spells.cpp (mob::ResistSpell)
zone/pets.cpp (mob::MakePet)

These get a little trickier
zone/spell_effects.cpp
I start in mob::SpellEffect but then you have to look at BuffTick also.
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:42 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