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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-04-2004, 12:54 PM
segatron11
Fire Beetle
 
Join Date: Dec 2003
Posts: 6
Default Fix for Bind Sight

Here is spells.cpp change, I made it so the bind sight line of spells actually works

Spells.cpp line 1894
Code:
else{
			caston->source_id = caster->GetID();
			castbuff->source_id = caster->GetID();
		} 
// UNALTERED CODE ABOVE (That goes for you trumpcard :p)

		// incubus - Added the bind sight line of spells, just had to change target_id
		// I believe it also adds a stamina loss, so I'll have to add that
		if(spell_id == 500 /* bind sight */ || spell_id == 407 /* cast sight */) // Bind Sight line of spells
		{
			caston->target_id = caster->GetID();
			castbuff->target_id = caster->GetID();
		}
		else {
			caston->target_id = this->GetID();
			castbuff->target_id = this->GetID();
		}

// UNALTERED CODE BELOW (Again, there you go trumpcard, not that hard now was it? :p)
		caston->action = 231;
		caston->spell_id = spell_id;
		castbuff->spell_id = spell_id;
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 10:12 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