… | |
… | |
378 | } |
378 | } |
379 | |
379 | |
380 | return 0; |
380 | return 0; |
381 | } |
381 | } |
382 | |
382 | |
383 | void |
383 | static void |
384 | attack_message (int dam, int type, object *op, object *hitter) |
384 | attack_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 | */ |
1961 | void |
1961 | static void |
1962 | deathstrike_player (object *op, object *hitter, int *dam) |
1962 | deathstrike_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 |