Revert "Updates Packets & Randomizer (#43)" (#61)

This reverts commit 179cb50557.
This commit is contained in:
Kamron Batman 2019-11-11 08:46:11 -08:00 • committed by GitHub
parent 179cb50557
commit c2ecc76457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
588 changed files with 16260 additions and 10926 deletions

View file

@ -98,7 +98,7 @@ namespace Server.Mobiles
{
if (Utility.RandomBool() && Mana > 14 && to != null)
{
damage += damage / 2;
damage = damage + damage / 2;
to.SendLocalizedMessage(1060091); // You take extra damage from the crushing attack!
to.PlaySound(0x1E1);
to.FixedParticles(0x377A, 1, 32, 0x26da, 0, 0, 0);

View file

@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using Server.Engines.Plants;
using Server.Items;
using Server.Network;
namespace Server.Mobiles
{
@ -84,7 +85,9 @@ namespace Server.Mobiles
* Effect: - To: "0x57D4F5B" - ItemId: "0x27A3" - ItemIdName: "Tessen" - FromLocation: "(992 299, 24)" - ToLocation: "(992 308, 22)" - Speed: "10" - Duration: "0" - FixedDirection: "False" - Explode: "False" - Hue: "0x0" - Render: "0x0"
* Damage: 50-65
*/
Effects.SendMovingEffect(Location, attacker.Location, attacker.Map, 0x27A3, 10);
Effects.SendPacket(attacker, attacker.Map,
new HuedEffect(EffectType.Moving, Serial.Zero, Serial.Zero, 0x27A3, Location, attacker.Location, 10, 0,
false, false, 0, 0));
AOS.Damage(attacker, this, Utility.RandomMinMax(50, 65), 100, 0, 0, 0, 0);
}
}
@ -99,7 +102,9 @@ namespace Server.Mobiles
* Effect: - To: "0x57D4F5B" - ItemId: "0x27A3" - ItemIdName: "Tessen" - FromLocation: "(992 299, 24)" - ToLocation: "(992 308, 22)" - Speed: "10" - Duration: "0" - FixedDirection: "False" - Explode: "False" - Hue: "0x0" - Render: "0x0"
* Damage: 50-65
*/
Effects.SendMovingEffect(Location, attacker.Location, attacker.Map, 0x27A3, 10);
Effects.SendPacket(attacker, attacker.Map,
new HuedEffect(EffectType.Moving, Serial.Zero, Serial.Zero, 0x27A3, Location, attacker.Location, 10, 0,
false, false, 0, 0));
AOS.Damage(attacker, this, Utility.RandomMinMax(50, 65), 100, 0, 0, 0, 0);
}
}