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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2008, 07:01 AM
seveianrex
Sarnak
 
Join Date: Sep 2008
Location: asdf
Posts: 60
Default Sinister Strikes AA

Hello all. I have completed the implementation of the Sinister Strikes AA. The bonus is setup to be an increase of between 8-15% on offhanded strikes. This may seem like a significant increase, however, keep in mind that this AA costs 15 points. If one was to use that many points to train Planar Power, they might notice such an increase from the higher STR stat. Feedback is welcome.

{attack.cpp}
Code:
		// seveian 2008-10-12
		if (Hand==14) {
			if(GetAA(aaSinisterStrikes)) {
				int sinisterBonus = MakeRandomInt(8,15);
				min_hit += (min_hit * sinisterBonus / 100);
				max_hit += (max_hit * sinisterBonus / 100);
			}
		}
Reply With Quote
  #2  
Old 10-12-2008, 10:19 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Nice work on this and DoT crits. I will check them out and we can get them added to the SVN if they test properly. But just from looking at them, they both look good to me
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 10-12-2008, 11:01 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

8-15% is a bit high, it should be around 5%.
Reply With Quote
  #4  
Old 10-12-2008, 11:30 PM
seveianrex
Sarnak
 
Join Date: Sep 2008
Location: asdf
Posts: 60
Default

Perhaps have it generate a random int between 1 and 5 then?
Reply With Quote
  #5  
Old 10-12-2008, 11:45 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Sure, that works for me.
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 02:11 AM.


 

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