Fixed Gust void stealing.
This commit is contained in:
parent
b8597d7161
commit
92bab25a3f
@ -1,10 +1,12 @@
|
|||||||
package nautilus.game.arcade.game.games.wizards.spells;
|
package nautilus.game.arcade.game.games.wizards.spells;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
import mineplex.core.common.util.UtilPlayer;
|
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.Spell;
|
||||||
import nautilus.game.arcade.game.games.wizards.spellinterfaces.SpellClick;
|
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.getArcadeManager().GetCondition().Factory().Falling("Gust", target, player, 40, false, true);
|
||||||
|
|
||||||
|
Wizards.Manager.GetDamage().GetCombatManager().Get(target).Attacked(player.getName(), 0, player, "Gust", new ArrayList<DamageChange>());
|
||||||
|
|
||||||
target.setVelocity(vec);
|
target.setVelocity(vec);
|
||||||
|
|
||||||
target.getWorld().playSound(target.getLocation(), Sound.BAT_TAKEOFF, 1, 0.7F);
|
target.getWorld().playSound(target.getLocation(), Sound.BAT_TAKEOFF, 1, 0.7F);
|
||||||
|
Loading…
Reference in New Issue
Block a user