ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/apply.C
(Generate patch)

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.70 by root, Sat Feb 10 21:01:10 2007 UTC vs.
Revision 1.71 by pippijn, Thu Mar 1 12:28:16 2007 UTC

2078 /* doubled chance for resistance of ability-focus */ 2078 /* doubled chance for resistance of ability-focus */
2079 if (i == abil->stats.exp) 2079 if (i == abil->stats.exp)
2080 chance = MIN (100., chance * 2.); 2080 chance = MIN (100., chance * 2.);
2081 2081
2082 /* now make the throw and save all winners (Don't insert luck bonus here!) */ 2082 /* now make the throw and save all winners (Don't insert luck bonus here!) */
2083 if (rndm (10000) < (int) (chance * 100)) 2083 if (rndm (10000) < (unsigned int) (chance * 100))
2084 { 2084 {
2085 atnr_winner[winners] = i; 2085 atnr_winner[winners] = i;
2086 winners++; 2086 winners++;
2087 } 2087 }
2088 2088

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines