From df100fdbeb2be2a7150de7ac9caddb4b419434be Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 17 May 2008 18:49:54 +0000 Subject: Add yet more comment fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5104 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index d479f9316d..843cc577e8 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -963,7 +963,7 @@ bool melee_attack::player_aux_unarmed() } break; - case 2: /* draconians */ + case 2: // draconians if (uattack != UNAT_TAILSLAP) { // not draconian, and not wet merfolk @@ -993,7 +993,7 @@ bool melee_attack::player_aux_unarmed() damage_brand = SPWPN_VENOM; } - /* grey dracs have spiny tails, or something */ + // grey dracs have spiny tails, or something // maybe add this to player messaging {dlb} // // STINGER mutation doesn't give extra damage here... that @@ -1016,7 +1016,7 @@ bool melee_attack::player_aux_unarmed() continue; } - /* no punching with a shield or 2-handed wpn, except staves */ + // no punching with a shield or 2-handed wpn, except staves if (shield || coinflip() || (weapon && hands == HANDS_TWO @@ -1027,7 +1027,7 @@ bool melee_attack::player_aux_unarmed() } unarmed_attack = "punch"; - /* applied twice */ + // applied twice aux_damage = 5 + you.skills[SK_UNARMED_COMBAT] / 3; if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BLADE_HANDS) @@ -1084,7 +1084,7 @@ bool melee_attack::player_aux_unarmed() break; - /* To add more, add to while part of loop below as well */ + // To add more, add to while part of loop below as well default: continue; } @@ -2201,7 +2201,7 @@ bool melee_attack::apply_damage_brand() drain_defender(); break; - /* 9 = speed - done before */ + // 9 = speed - done before case SPWPN_VORPAL: special_damage = 1 + random2(damage_done) / 2; // note: leaving special_damage_message empty because there @@ -2598,7 +2598,7 @@ bool melee_attack::player_check_monster_died() if (def->hit_points < 1) { #if DEBUG_DIAGNOSTICS - /* note: doesn't take account of special weapons etc */ + // note: doesn't take account of special weapons, etc. mprf( MSGCH_DIAGNOSTICS, "Hit for %d.", damage_done ); #endif @@ -2971,7 +2971,7 @@ int melee_attack::player_unarmed_speed() else unarmed_delay = 10 - you.skills[SK_UNARMED_COMBAT] / 5; - /* this shouldn't happen anyway...sanity */ + // this shouldn't happen anyway... sanity if (unarmed_delay < min_delay) unarmed_delay = min_delay; } -- cgit v1.2.3-54-g00ecf