[BugFix] AF_MAGIC Damage Calculation

05/20/2016 09:25 Pumaaa#1
In function

Code:
int CMover::ApplyDPC( int nATK, ATTACK_INFO* pInfo )
Code:
float fCriticalBonus	= 1 + (float)GetParam( DST_CRITICAL_BONUS, 0  ) / 100.0F;
replace with

Code:
float fCriticalBonus	= 1 + (float)pInfo->pAttacker->GetParam( DST_CRITICAL_BONUS, 0  ) / 100.0f;

Now the AF_MAGIC crits ( and theoretically the AF_MELEESKILL crits ) do no longer scale with enemy ADOCH but correctly scaling with attacker ADOCH.