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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-07-2009, 08:43 AM
Wolftousen
Sarnak
 
Join Date: Apr 2008
Posts: 49
Default Berserker Rage Volley Fix

File: zone/spell_effects.cpp
Line: 275

From:

Code:
if(spells[spell_id].skill == ARCHERY || spells[spell_id].skill == THROWING)
{
To:

Code:
//Wolftousen Rage Volley will bypass spell code and work like a normal throwing attack with 100% chance to hit
//check to see if Rage Volley is being cast and that we are a client since mobs do not use this spell
if(spell_id == 6754 && caster->IsClient())
{
	//do a normal throwing attack instead of a"magic" attack to apply proper bonuses
	caster->ThrowingAttack(caster->GetTarget());
	break;
}
else if(spells[spell_id].skill == ARCHERY || spells[spell_id].skill == THROWING)
{
Description: This is to get Rage Volley working properly. It subverts the normal spell attack and uses the ThrowingAttack function to apply proper bonuses and chance to hit. There is also something you need to do to the ChanceToHit function to insure that Rage Volley works properly in this manner: http://www.eqemulator.net/forums/showthread.php?t=27640
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 08:58 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3