From: <j-...@us...> - 2007-08-20 23:33:05
|
Revision: 2022 http://crawl-ref.svn.sourceforge.net/crawl-ref/?rev=2022&view=rev Author: j-p-e-g Date: 2007-08-20 16:33:00 -0700 (Mon, 20 Aug 2007) Log Message: ----------- A few small changes: - self targetting for "bad" wands defaults to 'n' - switching weapons for dissection ignores wield_warning - nets do damage 0 (really) Modified Paths: -------------- trunk/crawl-ref/source/describe.cc trunk/crawl-ref/source/direct.cc trunk/crawl-ref/source/item_use.cc Modified: trunk/crawl-ref/source/describe.cc =================================================================== --- trunk/crawl-ref/source/describe.cc 2007-08-20 22:22:04 UTC (rev 2021) +++ trunk/crawl-ref/source/describe.cc 2007-08-20 23:33:00 UTC (rev 2022) @@ -3920,10 +3920,9 @@ + std::string(god_name(god)) + " to bless a "; result += (god == GOD_ZIN ? "mace" : "long sword"); result += "."; - break; } break; - + case GOD_LUGONU: if (!player_under_penance() && you.piety > 160 && !you.num_gifts[god]) @@ -3947,8 +3946,9 @@ break; case GOD_VEHUMET: - result += "Vehumet assists you in casting Conjurations" - " and Summonings during prayer."; + if (you.piety >= 50) + result += "Vehumet assists you in casting Conjurations" + " and Summonings during prayer."; break; default: Modified: trunk/crawl-ref/source/direct.cc =================================================================== --- trunk/crawl-ref/source/direct.cc 2007-08-20 22:22:04 UTC (rev 2021) +++ trunk/crawl-ref/source/direct.cc 2007-08-20 23:33:00 UTC (rev 2022) @@ -619,7 +619,7 @@ if ( moves.isTarget && moves.tx == you.x_pos && moves.ty == you.y_pos && mode == TARG_ENEMY && Options.confirm_self_target && - !yesno("Really target yourself?")) + !yesno("Really target yourself?", false, 'n')) { mesclr(); show_prompt = true; Modified: trunk/crawl-ref/source/item_use.cc =================================================================== --- trunk/crawl-ref/source/item_use.cc 2007-08-20 22:22:04 UTC (rev 2021) +++ trunk/crawl-ref/source/item_use.cc 2007-08-20 23:33:00 UTC (rev 2022) @@ -271,7 +271,8 @@ mpr(you.inv[item_slot].name(DESC_INVENTORY_EQUIP).c_str()); // warn player about low str/dex or throwing skill - wield_warning(); + if (show_weff_messages) + wield_warning(); // time calculations you.time_taken /= 2; @@ -2051,7 +2052,8 @@ // They don't do any damage! baseDam = 0; exDamBonus = 0; - + ammoDamBonus = 0; + // but accuracy is important for this one baseHit = 1; exHitBonus += (skill_bump(SK_RANGED_COMBAT) * 7 / 2); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |