From 92bab25a3fbb5dbf594a8db959a1b1211bc9fa7c Mon Sep 17 00:00:00 2001 From: Mysticate Date: Thu, 8 Oct 2015 20:38:33 -0400 Subject: [PATCH] Fixed Gust void stealing. --- .../game/arcade/game/games/wizards/spells/SpellGust.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/spells/SpellGust.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/spells/SpellGust.java index 730274a97..1aad6027d 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/spells/SpellGust.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/spells/SpellGust.java @@ -1,10 +1,12 @@ package nautilus.game.arcade.game.games.wizards.spells; +import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map.Entry; import mineplex.core.common.util.UtilPlayer; +import mineplex.minecraft.game.core.damage.DamageChange; import nautilus.game.arcade.game.games.wizards.Spell; import nautilus.game.arcade.game.games.wizards.spellinterfaces.SpellClick; @@ -57,6 +59,8 @@ public class SpellGust extends Spell implements SpellClick Wizards.getArcadeManager().GetCondition().Factory().Falling("Gust", target, player, 40, false, true); + Wizards.Manager.GetDamage().GetCombatManager().Get(target).Attacked(player.getName(), 0, player, "Gust", new ArrayList()); + target.setVelocity(vec); target.getWorld().playSound(target.getLocation(), Sound.BAT_TAKEOFF, 1, 0.7F);