Skip to content

Commit

Permalink
Remove 3x Demon damage VS Golem
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Mar 7, 2024
1 parent bc4f434 commit 3789456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/missiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ bool MonsterMHit(const Player &player, int monsterId, int mindam, int maxdam, in
dam += player._pDamageMod;
else
dam += player._pDamageMod / 2;
if (monster.data().monsterClass == MonsterClass::Demon && HasAnyOf(player._pIFlags, ItemSpecialEffect::TripleDemonDamage))
if (!monster.isPlayerMinion() && monster.data().monsterClass == MonsterClass::Demon && HasAnyOf(player._pIFlags, ItemSpecialEffect::TripleDemonDamage))
dam *= 3;
}
bool resist = monster.isResistant(t, damageType);
Expand Down

0 comments on commit 3789456

Please sign in to comment.