--- deliantra/server/server/attack.c 2006/03/26 08:32:11 1.6 +++ deliantra/server/server/attack.c 2006/03/30 11:11:35 1.7 @@ -1192,14 +1192,9 @@ if(op->resist[ATNR_DRAIN] >= 0) rate = 50 + op->resist[ATNR_DRAIN] / 2; - else if(op->resist[ATNR_DRAIN] < 0) + else rate = 5000 / (100 - op->resist[ATNR_DRAIN]); - /* full protection has no effect. Nothing else in this - * function needs to get done, so just return. */ - if(!rate) - return 0; - if(op->stats.exp <= rate) { if(op->type == GOLEM) dam = 999; /* Its force is "sucked" away. 8) */