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.91 by root, Sat Nov 7 18:30:06 2009 UTC vs.
Revision 1.92 by root, Wed Nov 11 04:45:23 2009 UTC

1325/*************************************************************************** 1325/***************************************************************************
1326 * 1326 *
1327 * CURSE 1327 * CURSE
1328 * 1328 *
1329 ***************************************************************************/ 1329 ***************************************************************************/
1330
1331int 1330int
1332cast_curse (object *op, object *caster, object *spell_ob, int dir) 1331cast_curse (object *op, object *caster, object *spell_ob, int dir)
1333{ 1332{
1334 object *god = find_god (determine_god (op)); 1333 object *god = find_god (determine_god (op));
1335 object *tmp, *force; 1334 object *tmp, *force;
1413 force->stats.wc = spell_ob->stats.wc; 1412 force->stats.wc = spell_ob->stats.wc;
1414 1413
1415 change_abil (tmp, force); /* Mostly to display any messages */ 1414 change_abil (tmp, force); /* Mostly to display any messages */
1416 insert_ob_in_ob (force, tmp); 1415 insert_ob_in_ob (force, tmp);
1417 tmp->update_stats (); 1416 tmp->update_stats ();
1417
1418 return 1; 1418 return 1;
1419
1420} 1419}
1421 1420
1422/********************************************************************** 1421/**********************************************************************
1423 * mood change 1422 * mood change
1424 * Arguably, this may or may not be an attack spell. But since it 1423 * Arguably, this may or may not be an attack spell. But since it

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines