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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-09-2018, 09:43 PM
Osiris.Envy's Avatar
Osiris.Envy
Fire Beetle
 
Join Date: Jun 2015
Location: California
Posts: 5
Default Focusable Spells

From what I can tell certain spells are 'focusable' and some spells are not. The spells that are NOT 'focusable', are returned with focustype 'focusFcMute' from the following code in spell_effects.cpp:

Code:
int16 NPC::GetFocusEffect(focusType type, uint16 spell_id) {

	if (spells[spell_id].not_focusable)
		return 0;
        }
How can I alter spells that are not currently 'focusable' to be focusable? I would like to be able to tag just certain spells, I would not want to make wholesale changes to any spell that is currently tagged with focustype 'focusFcMute' only a selected few spells would be changed.

with my limited knowledge, I looked thru source, db, and other files trying to find how spells are tagged with focustype 'focusFcMute'. The best I can surmise at this point is that the spellID(spell_id) is involved.

thanks,
__________________
Osiris - server operator/dev/owner
Envy of the Irish
http://envyoftheirisheqemu.proboards.com/
Reply With Quote
 

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 03:14 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