Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 11-10-2006, 08:01 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default

I think you sould be able to change the summon item to use the target of the summoner. The problem is if the summoner inputs the wrong value you would never know.

in command.cpp is

void command_summonitem(Client *c, const Seperator *sep)

with in the if's it could be checked if a target is selected and then summon to their cursor.

this is some ruff UNTESTED code....
Code:
Mob *t;
if(c->GetTarget()){		// have target
	t=c->GetTarget();
	t->CastToClient()->SummonItem(itemid);
}
else
{
c->SummonItem(itemid);
}

Last edited by LostZaphod; 11-10-2006 at 04:15 PM..
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:19 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