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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2010, 07:16 PM
Vanicae
Fire Beetle
 
Join Date: May 2010
Posts: 9
Default COMMITTED: Tactical Mastery (Warrior AA)

Small addition for the tactical mastery AA.

I've been unable to find any information on what percent chance the AA gives to strikethrough, so it uses the same values as the monk equivalent. I think that is better than it doing nothing at all.


Code:
Index: attack.cpp
===================================================================
--- attack.cpp	(revision 1701)
+++ attack.cpp	(working copy)
@@ -1306,6 +1306,18 @@
 			aaStrikethroughBonus = 6;
 			break;
 		}
+		switch (GetAA(aaTacticalMastery))
+		{
+		case 1:
+			aaStrikethroughBonus = 2;
+			break;
+		case 2:
+			aaStrikethroughBonus = 4;
+			break;
+		case 3:
+			aaStrikethroughBonus = 6;
+			break;
+		}
 		if (((damage < 0) || slippery_attack) && !bRiposte && !IsStrikethrough) { // Hack to still allow Strikethrough chance w/ Slippery Attacks AA
 			if(MakeRandomInt(0, 100) < (itembonuses.StrikeThrough + spellbonuses.StrikeThrough + aaStrikethroughBonus)) {
 				Message_StringID(MT_StrikeThrough, STRIKETHROUGH_STRING); // You strike through your opponents defenses!

Van
Reply With Quote
Reply


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 11:11 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