summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-22 22:30:20 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-22 22:32:40 +1000
commit445a015973907071aec6da44a085bff800924fdf (patch)
treec59278c93f9f52c7f197162de0837766e91faeed /crawl-ref/source/fight.h
parente6389b48e107b403e5949400a51bbf79977c5042 (diff)
downloadcrawl-ref-445a015973907071aec6da44a085bff800924fdf.tar.gz
crawl-ref-445a015973907071aec6da44a085bff800924fdf.zip
Remove monster and player water attack bonus.
The final part of the amphibious monsters overhaul. Water-based monsters no longer get an attack bonus when attacking floundering monsters; likewise, the player (specifically, merfolk) no longer get an attack bonus while swimming and attacking floundering monsters.
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r--crawl-ref/source/fight.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h
index 70427a8ec1..2e40295527 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -139,10 +139,6 @@ public:
int heavy_armour_penalty;
bool can_do_unarmed;
- // Attacker uses watery terrain to advantage vs defender. Implies that
- // both attacker and defender are in water.
- bool water_attack;
-
// Miscast to cause after special damage is done. If miscast_level == 0
// the miscast is discarded if special_damage_message isn't empty.
int miscast_level;
@@ -169,7 +165,6 @@ public:
private:
void init_attack();
bool is_banished(const actor *) const;
- bool is_water_attack(const actor *, const actor *) const;
void check_hand_half_bonus_eligible();
void check_autoberserk();
bool check_unrand_effects(bool mondied = false);
@@ -251,7 +246,6 @@ private:
int player_aux_stat_modify_damage(int damage);
int player_to_hit(bool random_factor);
void player_apply_attack_delay();
- int player_apply_water_attack_bonus(int damage);
int player_apply_weapon_bonuses(int damage);
int player_apply_weapon_skill(int damage);
int player_apply_fighting_skill(int damage, bool aux);