Cleanup and adds configuration for crashguard (#240)
This commit is contained in:
parent
55ae0f8778
commit
7dbfa086bc
39 changed files with 1248 additions and 97 deletions
|
|
@ -164,8 +164,8 @@ namespace Server.SkillHandlers
|
|||
else if (target is Mobile targ)
|
||||
{
|
||||
if (targ == from || targ is BaseCreature bc &&
|
||||
(bc.BardImmune || !@from.CanBeHarmful(bc, false)) &&
|
||||
bc.ControlMaster != @from)
|
||||
(bc.BardImmune || !from.CanBeHarmful(bc, false)) &&
|
||||
bc.ControlMaster != from)
|
||||
{
|
||||
from.SendLocalizedMessage(1049535); // A song of discord would have no effect on that.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,8 +94,8 @@ namespace Server.SkillHandlers
|
|||
}
|
||||
else
|
||||
{
|
||||
if (Core.ML && isOwner || @from.CheckTargetSkill(SkillName.RemoveTrap, trap, 80.0, 100.0) &&
|
||||
@from.CheckTargetSkill(SkillName.Tinkering, trap, 80.0, 100.0))
|
||||
if (Core.ML && isOwner || from.CheckTargetSkill(SkillName.RemoveTrap, trap, 80.0, 100.0) &&
|
||||
from.CheckTargetSkill(SkillName.Tinkering, trap, 80.0, 100.0))
|
||||
{
|
||||
from.PrivateOverheadMessage(
|
||||
MessageType.Regular,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue