EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   wierd code in zone/attack.cpp (https://www.eqemulator.org/forums/showthread.php?t=28755)

Kobaz 07-02-2009 04:53 PM

wierd code in zone/attack.cpp
 
at line 815:

Code:

double combat_rating = (defenseRating - attackRating);

combat_rating = 100 * combat_rating / (double)ac_eq100;
combat_rating > 60.0 ? 60 + ((combat_rating - 60)/10) : combat_rating;
combat_rating > 90.0 ? 90 + ((combat_rating - 90)/20) : combat_rating;

The last 2 lines don't seem to do anything. Am I missing something? I'm putting together a diff if I'm right.

KLS 07-02-2009 07:36 PM

Yeah it was brought up to me before I was gonna take it out but I forgot. I got it taken out now. It was going to be part of AC softcaps but I scrapped the idea but part of it didn't get merged out.


All times are GMT -4. The time now is 06:28 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.