git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7073 c06c8d41-db1a-0410-9941-cceddc491573
27JI3J23EXDY2G4X7NHTFTSHSEUDGDPFOYPG6P53UNSSJP3DDQTAC J6ILYHNWEDUHAP44NSA66DYGFXZAD7KKO3PHVG44IWB3KWMMNTHQC NVD2HSEW2ONWNYDDCTOMZZOUP6NG4DCXI4LNYYIY4BQEBDMJQK5AC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC ODQ7LIJ2UROGGENIORRXZFWII3ZM2N45YD53FKWDQB7LLRXR4PHAC VQD5BW56OTUNPILMCASXZ6YZ3OQGXKQ7CSNDMNZUX72AQZXKOE3QC KFULGQQOHWUTXOM3BXCCYPGGVGGY4Z6265XUFRCBPNLTZAEHJZSQC RWCCZ64BG3HSOTM54ANIGENC3F3AIR42LJFRYSAKMCPCIUSOZY5QC K6S3LX4GPSVHOVIZVVGJDOMT6GXENOTXD6FM3ZHBN5GO4JA5E6YAC if (dam <= 0)return (false);if (you.religion == GOD_YREDELEMNUL && you.duration[DUR_PRAYER]&& !player_under_penance() && you.piety >= piety_breakpoint(0)){simple_god_message(" mirrors your injury!");#ifndef USE_TILEflash_monster_colour(mon, RED, 200);#endifhurt_monster(mon, dam);if (mon->hit_points < 1)monster_die(mon, KILL_YOU, NON_MONSTER);elseprint_wounds(mon);lose_piety(integer_sqrt(dam));return (true);}return (false);
return (you.religion == GOD_YREDELEMNUL && !player_under_penance()&& you.piety >= piety_breakpoint(0));
if (yred_injury_mirror() && you.duration[DUR_PRAYER]){simple_god_message(" mirrors your injury!");monsters *mon = &menv[death_source];#ifndef USE_TILEflash_monster_colour(mon, RED, 200);#endifhurt_monster(mon, dam);if (mon->hit_points < 1)monster_die(mon, KILL_YOU, NON_MONSTER);elseprint_wounds(mon);lose_piety(integer_sqrt(dam));}}