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

Comparing deliantra/server/server/spell_util.C (file contents):
Revision 1.32 by root, Mon Jan 15 00:40:49 2007 UTC vs.
Revision 1.33 by root, Mon Jan 15 01:25:41 2007 UTC

522 * playability reasons. 522 * playability reasons.
523 */ 523 */
524 if (tmp->arch == op->arch 524 if (tmp->arch == op->arch
525 && tmp->type == op->type 525 && tmp->type == op->type
526 && tmp->subtype == op->subtype 526 && tmp->subtype == op->subtype
527 && tmp->owner == op->owner
527 && tmp->owner == op->owner && ((tmp->subtype == SP_EXPLOSION) || (tmp->subtype == SP_CONE && tmp->stats.sp == op->stats.sp))) 528 && ((tmp->subtype == SP_EXPLOSION) || (tmp->subtype == SP_CONE && tmp->stats.sp == op->stats.sp)))
528 { 529 {
529 tmp->stats.dam = MAX (tmp->stats.dam, op->stats.dam); 530 tmp->stats.dam = MAX (tmp->stats.dam, op->stats.dam);
530 tmp->range = MAX (tmp->range, op->range); 531 tmp->range = MAX (tmp->range, op->range);
531 tmp->duration = MAX (tmp->duration, op->duration); 532 tmp->duration = MAX (tmp->duration, op->duration);
532 return 0; 533 return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines