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
|
|
@ -45,10 +45,8 @@ namespace Server.SkillHandlers
|
|||
{
|
||||
from.SendLocalizedMessage(502816); // You feel that such an action would be inappropriate
|
||||
}
|
||||
else if (targeted is TrappableContainer)
|
||||
else if (targeted is TrappableContainer targ)
|
||||
{
|
||||
TrappableContainer targ = (TrappableContainer)targeted;
|
||||
|
||||
from.Direction = from.GetDirectionTo(targ);
|
||||
|
||||
if (targ.TrapType == TrapType.None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue