- Any creature already aggressive to you before using Embrace Honor, or attacked while under Embrace Honor, will attack you back

(http://www.uodemise.com/discussion/showthread.php?t=141415)

- Fixed a bug in Spellweaving Arcane Circle spell causing the arcanist to get more than one arcane focus
(http://www.uodemise.com/discussion/showthread.php?t=140429)

- Added a sanity check in SpellHelper.cs
(http://www.uodemise.com/discussion/showthread.php?t=139731)
(http://www.runuo.com/forums/showthread.php?p=829126)

- Provoked creatures won't return anymore the message *looks furious* (ML change)
(http://www.uodemise.com/discussion/showthread.php?t=138228)
This commit is contained in:
daedalus 2010-04-02 11:55:13 +00:00
parent 42d5433ded
commit 489bbabe93
4 changed files with 19 additions and 5 deletions

View file

@ -958,7 +958,11 @@ namespace Server.Spells
WeightOverloading.DFA = dfa;
int damageGiven = AOS.Damage( target, from, iDamage, phys, fire, cold, pois, nrgy );
DoLeech( damageGiven, from, target );
if ( from != null ) // sanity check
{
DoLeech( damageGiven, from, target );
}
WeightOverloading.DFA = DFAlgorithm.Standard;
}
@ -1077,7 +1081,11 @@ namespace Server.Spells
WeightOverloading.DFA = m_DFA;
int damageGiven = AOS.Damage( m_Target, m_From, m_Damage, m_Phys, m_Fire, m_Cold, m_Pois, m_Nrgy );
DoLeech( damageGiven, m_From, m_Target );
if ( m_From != null ) // sanity check
{
DoLeech( damageGiven, m_From, m_Target );
}
WeightOverloading.DFA = DFAlgorithm.Standard;