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

Comparing deliantra/server/server/attack.C (file contents):
Revision 1.114 by root, Fri Nov 6 12:27:06 2009 UTC vs.
Revision 1.115 by root, Fri Nov 6 12:49:19 2009 UTC

378 } 378 }
379 379
380 return 0; 380 return 0;
381} 381}
382 382
383void 383static void
384attack_message (int dam, int type, object *op, object *hitter) 384attack_message (int dam, int type, object *op, object *hitter)
385{ 385{
386 char buf[MAX_BUF], buf1[MAX_BUF], buf2[MAX_BUF]; 386 char buf[MAX_BUF], buf1[MAX_BUF], buf2[MAX_BUF];
387 int i, found = 0; 387 int i, found = 0;
388 maptile *map; 388 maptile *map;
1956} 1956}
1957 1957
1958/* Attempts to kill 'op'. hitter is the attack object, dam is 1958/* Attempts to kill 'op'. hitter is the attack object, dam is
1959 * the computed damaged. 1959 * the computed damaged.
1960 */ 1960 */
1961void 1961static void
1962deathstrike_player (object *op, object *hitter, int *dam) 1962deathstrike_player (object *op, object *hitter, int *dam)
1963{ 1963{
1964 /* The intention of a death attack is to kill outright things 1964 /* The intention of a death attack is to kill outright things
1965 ** that are a lot weaker than the attacker, have a chance of killing 1965 ** that are a lot weaker than the attacker, have a chance of killing
1966 ** things somewhat weaker than the caster, and no chance of 1966 ** things somewhat weaker than the caster, and no chance of

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines