Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2003, 12:50 AM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default Slow spells fix.

I was looking through the code after noticing slow spells were broken, and noticed that not only did slow spells not work, but they also hasted the mob they were cast on.

In spells.cpp line 1932 change:

Code:
			case SE_AttackSpeed: {
				if (spells[spell_id].goodEffect==0)
					this->SetHaste(100 - 
                        (int)CalcSpellValue(spells[spell_id].formula[i],
                                            spells[spell_id].base[i],
                                            spells[spell_id].max[i],
                                            caster_level, spell_id));
To:

Code:
			case SE_AttackSpeed: {
				if (spells[spell_id].goodEffect==0)
					this->SetHaste(0 - 
                        (int)CalcSpellValue(spells[spell_id].formula[i],
                                            spells[spell_id].base[i],
                                            spells[spell_id].max[i],
                                            caster_level, spell_id));
This seems to fix it so slow spells work...and no more hasting the mobs for 25% when a shaman casts Turgur's Insects on it.
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
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 06:50 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3