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

Comparing deliantra/server/server/spell_attack.C (file contents):
Revision 1.104 by root, Sun Apr 11 04:41:44 2010 UTC vs.
Revision 1.105 by root, Sun May 2 20:57:53 2010 UTC

1265 /* some things are unaffected... */ 1265 /* some things are unaffected... */
1266 if (op->path_denied & PATH_LIGHT) 1266 if (op->path_denied & PATH_LIGHT)
1267 return 0; 1267 return 0;
1268 1268
1269 object *tmp = get_archetype (FORCE_NAME); 1269 object *tmp = get_archetype (FORCE_NAME);
1270 tmp->speed = 0.01; 1270 tmp->set_speed (0.01);
1271 tmp->stats.food = time; 1271 tmp->stats.food = time;
1272 tmp->set_flag (FLAG_IS_USED_UP); 1272 tmp->set_flag (FLAG_IS_USED_UP);
1273 tmp->set_glow_radius (min (MAX_LIGHT_RADIUS, radius)); 1273 tmp->set_glow_radius (min (MAX_LIGHT_RADIUS, radius));
1274 tmp = insert_ob_in_ob (tmp, op); 1274 tmp = insert_ob_in_ob (tmp, op);
1275 1275
1390 1390
1391 return 1; 1391 return 1;
1392 } 1392 }
1393 1393
1394 force->duration = spell_ob->duration + SP_level_duration_adjust (caster, spell_ob) * 50; 1394 force->duration = spell_ob->duration + SP_level_duration_adjust (caster, spell_ob) * 50;
1395 force->speed = 1.f;
1396 force->speed_left = -1.f; 1395 force->speed_left = -1.f;
1396 force->set_speed (1.f);
1397 force->set_flag (FLAG_APPLIED); 1397 force->set_flag (FLAG_APPLIED);
1398 1398
1399 if (god) 1399 if (god)
1400 { 1400 {
1401 if (spell_ob->last_grace) 1401 if (spell_ob->last_grace)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines