Chessboard corrections

http://www.uodemise.com/forum/showthread.php?t=154224&page=2

Stealth has the wrong hiding requirement
http://www.uodemise.com/forum/showthread.php?t=155728

Players should be able to discord their own pet regardless of facet/guild, or lack thereof
http://www.uodemise.com/forum/showthread.php?t=148376

Disposition of released/gone wild pets' pack inventory
http://www.uodemise.com/forum/showthread.php?t=146385

Flagging mechanics regarding invisibility
http://www.uodemise.com/forum/showthread.php?t=137631
This commit is contained in:
xavier 2010-09-25 17:55:44 +00:00
parent cd2462621f
commit f90c09ef55
7 changed files with 115 additions and 19 deletions

View file

@ -144,7 +144,7 @@ namespace Server.SkillHandlers
{
private BaseInstrument m_Instrument;
public DiscordanceTarget( Mobile from, BaseInstrument inst ) : base( BaseInstrument.GetBardRange( from, SkillName.Discordance ), false, TargetFlags.Harmful )
public DiscordanceTarget( Mobile from, BaseInstrument inst ) : base( BaseInstrument.GetBardRange( from, SkillName.Discordance ), false, TargetFlags.None )
{
m_Instrument = inst;
}
@ -162,7 +162,7 @@ namespace Server.SkillHandlers
{
Mobile targ = (Mobile)target;
if ( targ == from || (targ is BaseCreature && ( ((BaseCreature)targ).BardImmune || !from.CanBeHarmful( targ, false ) )) )
if ( targ == from || (targ is BaseCreature && ( ((BaseCreature)targ).BardImmune || !from.CanBeHarmful( targ, false ) ) && ((BaseCreature)targ).ControlMaster != from) )
{
from.SendLocalizedMessage( 1049535 ); // A song of discord would have no effect on that.
}

View file

@ -61,7 +61,7 @@ namespace Server.SkillHandlers
{
m.SendLocalizedMessage( 502725 ); // You must hide first
}
else if ( m.Skills[SkillName.Hiding].Base < ((Core.SE) ? 50.0 : 80.0) )
else if ( m.Skills[SkillName.Hiding].Base < ((Core.ML) ? 30.0 : (Core.SE) ? 50.0 : 80.0) )
{
m.SendLocalizedMessage( 502726 ); // You are not hidden well enough. Become better at hiding.
m.RevealingAction();