Fixes chaos damage bug with the spell system. Fixes various small other bugs. Fixes more merge cast type checks and uses default values.
This commit is contained in:
parent
9542c79ea4
commit
c155c82325
115 changed files with 644 additions and 1041 deletions
|
|
@ -78,8 +78,8 @@ namespace Server.Spells.Second
|
|||
|
||||
protected override void OnTarget(Mobile from, object o)
|
||||
{
|
||||
if (o is TrappableContainer)
|
||||
m_Owner.Target((TrappableContainer)o);
|
||||
if (o is TrappableContainer container)
|
||||
m_Owner.Target(container);
|
||||
else
|
||||
from.SendMessage("You can't trap that");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue