Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 07-08-2010, 02:55 AM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default

this was flawed as it would trigger if you cured the debuff... however I moved the code out to the dobufftic function.

spell effects.cpp - line 3297 - add this
Code:
		case SE_ImprovedSpellEffect:
		case SE_BossSpellTrigger:
		case SE_CastOnWearoff:
		{
			if (ticsremaining == 1) 
			{
				SpellOnTarget(spells[spell_id].base[i], this);
			}
			break;
		}
Seems to work as intended now.
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 07:00 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