Fixed defensive procs so they now only trigger once per attack round like live.

Added live like proc chance modifer based on level difference to target.
"Anything above your level will receive full mod. Starting 6 levels below PC level there is a negative 10 % mod applied each level until it reaches 0 and will not proc on anything 15 levels below you or lower."
Thanks to Huffin from PEQ for the parse data
This commit is contained in:
KayenEQ
2016-03-25 13:02:59 -04:00
parent a99befebfe
commit b369bb1793
6 changed files with 37 additions and 24 deletions
+1
View File
@@ -1107,6 +1107,7 @@ void Mob::AI_Process() {
//try main hand first
if(attack_timer.Check()) {
DoMainHandAttackRounds(target);
TriggerDefensiveProcs(target, MainPrimary, false);
bool specialed = false; // NPCs can only do one of these a round
if (GetSpecialAbility(SPECATK_FLURRY)) {