Ninja Darts and Shuriken should use combat checks, never 100% chance of hit. Should trigger Evil Omen poison level increase. Missed shots should not consume poison chg, but empty ammo clears weapon poison. Code overhaul.
This commit is contained in:
parent
c81a87394d
commit
33de7434c5
11 changed files with 520 additions and 571 deletions
|
|
@ -2542,7 +2542,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void Damage( int amount, Mobile from )
|
||||
{
|
||||
if ( Spells.Necromancy.EvilOmenSpell.CheckEffect( this ) )
|
||||
if ( Spells.Necromancy.EvilOmenSpell.TryEndEffect( this ) )
|
||||
amount = (int)(amount * 1.25);
|
||||
|
||||
Mobile oath = Spells.Necromancy.BloodOathSpell.GetBloodOath( from );
|
||||
|
|
@ -2580,7 +2580,7 @@ namespace Server.Mobiles
|
|||
if ( !Alive )
|
||||
return ApplyPoisonResult.Immune;
|
||||
|
||||
if ( Spells.Necromancy.EvilOmenSpell.CheckEffect( this ) )
|
||||
if ( Spells.Necromancy.EvilOmenSpell.TryEndEffect( this ) )
|
||||
poison = PoisonImpl.IncreaseLevel( poison );
|
||||
|
||||
ApplyPoisonResult result = base.ApplyPoison( from, poison );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue