|
|
|
|
@ -600,7 +600,7 @@ bool PlrHitMonst(Player &player, Monster &monster, bool adjacentDamage = false)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (gbIsHellfire && HasAllOf(player._pIFlags, ItemSpecialEffect::FireDamage | ItemSpecialEffect::LightningDamage)) { |
|
|
|
|
int midam = player._pIFMinDam + GenerateRnd(player._pIFMaxDam - player._pIFMinDam); |
|
|
|
|
int midam = RandomIntBetween(player._pIFMinDam, player._pIFMaxDam); |
|
|
|
|
AddMissile(player.position.tile, player.position.temp, player._pdir, MissileID::SpectralArrow, TARGET_MONSTERS, player, midam, 0); |
|
|
|
|
} |
|
|
|
|
int mind = player._pIMinDam; |
|
|
|
|
@ -920,7 +920,7 @@ bool DoRangeAttack(Player &player)
|
|
|
|
|
mistype = MissileID::LightningArrow; |
|
|
|
|
} |
|
|
|
|
if (HasAllOf(player._pIFlags, ItemSpecialEffect::FireArrows | ItemSpecialEffect::LightningArrows)) { |
|
|
|
|
dmg = player._pIFMinDam + GenerateRnd(player._pIFMaxDam - player._pIFMinDam); |
|
|
|
|
dmg = RandomIntBetween(player._pIFMinDam, player._pIFMaxDam); |
|
|
|
|
mistype = MissileID::SpectralArrow; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|