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 10-24-2012, 01:13 PM
fooliset
Fire Beetle
 
Join Date: Oct 2012
Posts: 5
Default

I put call to CastSpell() in attack.cpp that checks the Players class, does a random check, then if within some range it casts the spell I want. I think if I research custom spells I can probably get the majority of what I would like to play with.

I was able to make the spell cast instantly and without taking mana, but the cast animation stops melee combat for a few moments. I seem to think on Live this was not the case, but I cannot recall anymore. Maybe one of the parameters on CastSpell() controls this? I left the ones I didn't understand on their default value.

Part of what I was hoping to do was to be able to look at a Players Deity and give them a random buff, like Rallos Zek might give Grim Aura 3% of the attacks, Valor 2% of the time, and Avatar 1% of the time. Likewise do something similar with their class. Eventually, I would like to replace them with custom spells.

-f
Reply With Quote
Reply

Thread Tools
Display Modes

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:52 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