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

Comparing deliantra/server/server/attack.C (file contents):
Revision 1.45 by pippijn, Mon Jan 15 21:06:19 2007 UTC vs.
Revision 1.46 by root, Thu Jan 18 19:32:37 2007 UTC

131 saves++; 131 saves++;
132 } 132 }
133 133
134 if (saves == attacks || attacks == 0) 134 if (saves == attacks || attacks == 0)
135 return TRUE; 135 return TRUE;
136
136 if ((saves == 0) || (rndm (1, attacks) > saves)) 137 if (saves == 0 || (rndm (1, attacks) > saves))
137 return FALSE; 138 return FALSE;
139
138 return TRUE; 140 return TRUE;
139} 141}
140 142
141/* This function calls did_make_save_item. It then performs the 143/* This function calls did_make_save_item. It then performs the
142 * appropriate actions to the item (such as burning the item up, 144 * appropriate actions to the item (such as burning the item up,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines