Log in

View Full Version : wierd code in zone/attack.cpp


Kobaz
07-02-2009, 04:53 PM
at line 815:


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.