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

Comparing deliantra/server/common/living.C (file contents):
Revision 1.52 by root, Sat May 12 18:34:19 2007 UTC vs.
Revision 1.53 by root, Sat May 12 19:07:21 2007 UTC

939 vuln[i] += ((100 - vuln[i]) * -tmp->resist[i]) / 100; 939 vuln[i] += ((100 - vuln[i]) * -tmp->resist[i]) / 100;
940 } 940 }
941 } 941 }
942 942
943 /* There may be other things that should not adjust the attacktype */ 943 /* There may be other things that should not adjust the attacktype */
944 if ((tmp->type != WEAPON && tmp->type != BOW && tmp->type != SYMPTOM) 944 if (tmp->type != SYMPTOM)
945 || current_weapon == tmp)
946 { 945 {
947 attacktype |= tmp->attacktype; 946 attacktype |= tmp->attacktype;
948 path_attuned |= tmp->path_attuned; 947 path_attuned |= tmp->path_attuned;
949 path_repelled |= tmp->path_repelled; 948 path_repelled |= tmp->path_repelled;
950 path_denied |= tmp->path_denied; 949 path_denied |= tmp->path_denied;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines