fix: No acid damage for SC weapons (#1242)
This commit is contained in:
parent
e9c6faab33
commit
ed8f2438fd
1 changed files with 5 additions and 2 deletions
|
|
@ -1940,9 +1940,12 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
var isAcidMonster = m_MaxHits > 0 && MaxRange <= 1 && defender is Slime or AcidElemental;
|
||||
var isAcidMonster =
|
||||
m_MaxHits > 0 && MaxRange <= 1 && Attributes.SpellChanneling == 0 &&
|
||||
defender is Slime or AcidElemental;
|
||||
|
||||
// Stratics says 50% chance, seems more like 4%..
|
||||
if (isAcidMonster || Utility.RandomDouble() < 0.04)
|
||||
if (isAcidMonster || Utility.Random(25) == 0)
|
||||
{
|
||||
if (isAcidMonster)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue