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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-23-2008, 06:56 PM
seveianrex
Sarnak
 
Join Date: Sep 2008
Location: asdf
Posts: 60
Default GoD: Rapid Strikes AA

{client_process.cpp}

line 302 find:

Code:
if (target && GetAA(aaFlurry) > 0) {
					int flurrychance = 0;
					switch (GetAA(aaFlurry)) {
						case 1:
							flurrychance += 10;
							break;
						case 2:
							flurrychance += 20;
							break;
						case 3:
							flurrychance += 30;
							break;
					}
					switch (GetAA(aaRagingFlurry)) {
						case 1:
							flurrychance += 10;
							break;
						case 2:
							flurrychance += 20;
							break;
						case 3:
							flurrychance += 30;
							break;
					}
					if (rand()%1000 < flurrychance) {
						Message_StringID(MT_CritMelee, 128);
						Attack(target, 13, true);
						
						//50% chance for yet another attack?
						if(MakeRandomFloat(0, 1) < 0.5)
							Attack(target, 13, true);
					}
				}
add after:

Code:
				if (target && GetAA(aaRapidStrikes))
				{
					int chance_xhit1 = 0;
					int chance_xhit2 = 0;
					switch (GetAA(aaRapidStrikes))
					{
					case 1:
						chance_xhit1 = 10;
						chance_xhit2 = 2;
						break;
					case 2:
						chance_xhit1 = 12;
						chance_xhit2 = 4;
						break;
					case 3:
						chance_xhit1 = 14;
						chance_xhit2 = 6;
						break;
					case 4:
						chance_xhit1 = 16;
						chance_xhit2 = 8;
						break;
					case 5:
						chance_xhit1 = 20;
						chance_xhit2 = 10;
						break;
					}
					if (MakeRandomInt(1,100) < chance_xhit1)
						Attack(target, 13, true);
					if (MakeRandomInt(1,100) < chance_xhit2)
						Attack(target, 13, true);
				}
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:07 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