Fix Rumble spell slowness level

This commit is contained in:
Nate Mortensen 2016-11-20 18:30:30 -07:00 committed by cnr
parent b90e879d4b
commit 1425a2aaed
1 changed files with 3 additions and 1 deletions

View File

@ -278,10 +278,12 @@ public class SpellRumble extends Spell implements SpellClickBlock, SpellClick
if (entity instanceof Player)
{
// Why does Slowing by 2 apply slowness 1? The world may never know.
// As such, we subtract one from the spellLevel and ask no more questions
Wizards.getArcadeManager()
.GetCondition()
.Factory()
.Slow("Rumble", (LivingEntity) entity, player, 3, spellLevel, false, false,
.Slow("Rumble", (LivingEntity) entity, player, 3, spellLevel-1, false, false,
false, false);
}
}