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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-11-2008, 06:31 AM
haecz
Hill Giant
 
Join Date: Apr 2003
Location: x
Posts: 205
Default Distance check to Taunts

Taunt does not have a distance check.
You can pull NPCs over long distances utilising either "ghosted npcs" or MQ2.


Change:
Quote:
Originally Posted by special_attack.cpp - Line 1116
void Mob::Taunt(NPC* who, bool always_succeed) {
if (who == NULL)
return;

if(DivineAura())
return;

if (!always_succeed && IsClient())
CastToClient()->CheckIncreaseSkill(TAUNT);
To:
Quote:
Originally Posted by special_attack.cpp - Line 1116
void Mob::Taunt(NPC* who, bool always_succeed) {
if (who == NULL)
return;

if(DivineAura())
return;

// Range check to Taunts (depends on race. range 10-25)
if(!CombatRange(who))
return;

if (!always_succeed && IsClient())
CastToClient()->CheckIncreaseSkill(TAUNT);
__________________
there is no spoon!!

Last edited by KLS; 06-15-2008 at 01:12 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 04:09 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