fix: Fixes disarm, strangle, curse, summons, looting rights, creatures attacking, and items going to the floor (#1174)
* Fixes disarm * Fixes strangle not refreshing * Fixes curse not refreshing * Fixes 125% bonus to looting rights * Fixes mobs attacking each other, or not attacking each other * Fixes items dropping to the floor * Fixes protection spell * Fixes cure sending wrong message
This commit is contained in:
parent
906ec095b9
commit
060edaa76a
25 changed files with 127 additions and 112 deletions
|
|
@ -26,17 +26,15 @@ namespace Server.Spells.Third
|
|||
{
|
||||
SpellHelper.Turn(Caster, m);
|
||||
|
||||
SpellHelper.AddStatBonus(Caster, m, StatType.Str);
|
||||
SpellHelper.DisableSkillCheck = true;
|
||||
SpellHelper.AddStatBonus(Caster, m, StatType.Dex);
|
||||
SpellHelper.AddStatBonus(Caster, m, StatType.Int);
|
||||
SpellHelper.DisableSkillCheck = false;
|
||||
var length = SpellHelper.GetDuration(Caster, m);
|
||||
SpellHelper.AddStatBonus(Caster, m, StatType.Str, length, false);
|
||||
SpellHelper.AddStatBonus(Caster, m, StatType.Dex, length);
|
||||
SpellHelper.AddStatBonus(Caster, m, StatType.Int, length);
|
||||
|
||||
m.FixedParticles(0x373A, 10, 15, 5018, EffectLayer.Waist);
|
||||
m.PlaySound(0x1EA);
|
||||
|
||||
var percentage = (int)(SpellHelper.GetOffsetScalar(Caster, m, false) * 100);
|
||||
var length = SpellHelper.GetDuration(Caster, m);
|
||||
|
||||
var args = $"{percentage}\t{percentage}\t{percentage}";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue