This reverts commit 179cb50557.
This commit is contained in:
parent
179cb50557
commit
c2ecc76457
588 changed files with 16260 additions and 10926 deletions
|
|
@ -387,7 +387,7 @@ namespace Server.Items
|
|||
double toHeal = min + Utility.RandomDouble() * (max - min);
|
||||
|
||||
if (Patient.Body.IsMonster || Patient.Body.IsAnimal)
|
||||
toHeal += Patient.HitsMax / 100.0;
|
||||
toHeal += Patient.HitsMax / 100;
|
||||
|
||||
if (Core.AOS)
|
||||
toHeal -= toHeal * Slips * 0.35; // TODO: Verify algorithm
|
||||
|
|
|
|||
|
|
@ -79,8 +79,9 @@ namespace Server.Items
|
|||
from.Backpack.ConsumeUpTo(typeof(SulfurousAsh), sulfAsh);
|
||||
|
||||
from.PlaySound(0x15F);
|
||||
|
||||
Effects.SendMovingEffect(from, loc, from.Map, 0x36D4, 5, 0, false, true);
|
||||
Effects.SendPacket(from, from.Map,
|
||||
new HuedEffect(EffectType.Moving, from.Serial, Serial.Zero, 0x36D4, from.Location, loc, 5, 0, false, true, 0,
|
||||
0));
|
||||
|
||||
IPooledEnumerable<Mobile> eable = from.Map.GetMobilesInRange(new Point3D(loc), 2);
|
||||
|
||||
|
|
@ -91,9 +92,11 @@ namespace Server.Items
|
|||
|| Core.AOS && !from.InLOS(m))
|
||||
return false;
|
||||
|
||||
playerVsPlayer |= m.Player;
|
||||
if (m.Player)
|
||||
playerVsPlayer = true;
|
||||
|
||||
return true;
|
||||
|
||||
}).ToList();
|
||||
|
||||
eable.Free();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue