diff options
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 6b500c2af4..adda527f80 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -1127,6 +1127,14 @@ int melee_attack::player_apply_weapon_bonuses(int damage) if (coinflip()) damage++; } + + if (you.species == SP_DEMONSPAWN + && (weapon->sub_type == WPN_DEMON_BLADE || + weapon->sub_type == WPN_DEMON_WHIP || + weapon->sub_type == WPN_DEMON_TRIDENT)) + { + damage += random2(3); + } } return (damage); @@ -2322,7 +2330,7 @@ int melee_attack::player_to_hit(bool random_factor) { your_to_hit++; } - + } else if (item_is_staff( *weapon )) { |