Lightning strike should not consume mana or deactivate when you miss.
http://www.uodemise.com/forum/showthread.php?t=145364 BOD turn-in should have 10 second timer since pub 50 http://www.uodemise.com/forum/showthread.php?t=156441 Vet reward ore carts, gem carts, and stumps have missing range check added http://www.uodemise.com/forum/showthread.php?t=156380 Blood Oath: missing 35hp pvp dmg cap added, correct credit for kills/dmg given to caster, ML magic resist now applies. http://www.uodemise.com/forum/showthread.php?t=118729&page=3 Missing ore sizes added http://www.uodemise.com/forum/showthread.php?t=119888 Player-cast gates reveal stealthers/hiders. http://www.uodemise.com/forum/showthread.php?t=149218 Some necro spells should disturb a casting target http://www.uodemise.com/forum/showthread.php?t=149361 Failed snoop attempts should reveal thief if hidden. http://www.uodemise.com/forum/showthread.php?t=153962 Pets do not autostable in the case of a server restart/cash: fixed http://www.uodemise.com/forum/showthread.php?t=122745 Misc Aesthetic changes to spells, etc. earthquake wrong sound magic arrow inappropriate particles curse wrong sound agility wrong sound chain lightning should always play sound poison wrong sound dispel evil missing sound noble sacrifice male/female, diff sounds sacred journey missing sound
This commit is contained in:
parent
0ddcac0a63
commit
cd2462621f
34 changed files with 313 additions and 51 deletions
|
|
@ -96,6 +96,7 @@ namespace Server.Mobiles
|
|||
|
||||
private NpcGuild m_NpcGuild;
|
||||
private DateTime m_NpcGuildJoinTime;
|
||||
private DateTime m_NextBODTurnInTime;
|
||||
private TimeSpan m_NpcGuildGameTime;
|
||||
private PlayerFlag m_Flags;
|
||||
private int m_StepsTaken;
|
||||
|
|
@ -207,6 +208,13 @@ namespace Server.Mobiles
|
|||
set{ m_NpcGuildJoinTime = value; }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public DateTime NextBODTurnInTime
|
||||
{
|
||||
get{ return m_NextBODTurnInTime; }
|
||||
set{ m_NextBODTurnInTime = value; }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public DateTime LastOnline
|
||||
{
|
||||
|
|
@ -581,6 +589,28 @@ namespace Server.Mobiles
|
|||
EventSink.Logout += new LogoutEventHandler( OnLogout );
|
||||
EventSink.Connected += new ConnectedEventHandler( EventSink_Connected );
|
||||
EventSink.Disconnected += new DisconnectedEventHandler( EventSink_Disconnected );
|
||||
|
||||
if( Core.SE )
|
||||
{
|
||||
Timer.DelayCall( TimeSpan.Zero, new TimerCallback( CheckPets ) );
|
||||
}
|
||||
}
|
||||
|
||||
private static void CheckPets()
|
||||
{
|
||||
foreach( Mobile m in World.Mobiles.Values )
|
||||
{
|
||||
if( m is PlayerMobile )
|
||||
{
|
||||
PlayerMobile pm = (PlayerMobile)m;
|
||||
|
||||
if((( !pm.Mounted || ( pm.Mount != null && pm.Mount is EtherealMount )) && ( pm.AllFollowers.Count > pm.AutoStabled.Count )) ||
|
||||
( pm.Mounted && ( pm.AllFollowers.Count > ( pm.AutoStabled.Count +1 ))))
|
||||
{
|
||||
pm.AutoStablePets(); /* autostable checks summons, et al: no need here */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnSkillInvalidated( Skill skill )
|
||||
|
|
@ -2438,10 +2468,27 @@ namespace Server.Mobiles
|
|||
|
||||
Mobile oath = Spells.Necromancy.BloodOathSpell.GetBloodOath( from );
|
||||
|
||||
/* Per EA's UO Herald Pub48 (ML):
|
||||
* ((resist spellsx10)/20 + 10=percentage of damage resisted)
|
||||
*/
|
||||
|
||||
if ( oath == this )
|
||||
{
|
||||
amount = (int)(amount * 1.1);
|
||||
from.Damage( amount, from );
|
||||
|
||||
if( amount > 35 && from is PlayerMobile ) /* capped @ 35, seems no expansion */
|
||||
{
|
||||
amount = 35;
|
||||
}
|
||||
|
||||
if( Core.ML )
|
||||
{
|
||||
from.Damage( (int)(amount * ( 1 - ((( from.Skills.MagicResist.Value * .5 ) + 10) / 100 ))), this );
|
||||
}
|
||||
else
|
||||
{
|
||||
from.Damage( amount, this );
|
||||
}
|
||||
}
|
||||
|
||||
base.Damage( amount, from );
|
||||
|
|
@ -2836,7 +2883,6 @@ namespace Server.Mobiles
|
|||
|
||||
CheckAtrophies( this );
|
||||
|
||||
|
||||
if( Hidden ) //Hiding is the only buff where it has an effect that's serialized.
|
||||
AddBuff( new BuffInfo( BuffIcon.HidingAndOrStealth, 1075655 ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue