fix: Fixes damage from AR (#1134)
This commit is contained in:
parent
ce5db11273
commit
c4b814cc07
2 changed files with 9 additions and 25 deletions
|
|
@ -1963,10 +1963,11 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
var isAcidMonster = m_MaxHits > 0 && MaxRange <= 1 && defender is Slime or AcidElemental;
|
||||
// Stratics says 50% chance, seems more like 4%..
|
||||
if (m_MaxHits > 0 && MaxRange <= 1 && defender is Slime or AcidElemental |Utility.RandomDouble() < .04)
|
||||
if (isAcidMonster || Utility.RandomDouble() < 0.04)
|
||||
{
|
||||
if (MaxRange <= 1 && defender is Slime or AcidElemental)
|
||||
if (isAcidMonster)
|
||||
{
|
||||
attacker.LocalOverheadMessage(MessageType.Regular, 0x3B2, 500263); // *Acid blood scars your weapon!*
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue