PDA

View Full Version : Sinister Strikes AA


seveianrex
10-12-2008, 07:01 AM
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}

// 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);
}
}

trevius
10-12-2008, 10:19 PM
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 :)

cavedude
10-12-2008, 11:01 PM
8-15% is a bit high, it should be around 5%.

seveianrex
10-12-2008, 11:30 PM
Perhaps have it generate a random int between 1 and 5 then?

cavedude
10-12-2008, 11:45 PM
Sure, that works for me.