1234567891011121314151617181920 |
- package me.km.effects.active;
- import me.km.KajetansMod;
- import me.km.api.Location;
- import me.km.effects.ActiveEffectBase;
- import me.km.effects.passive.TrapEffects;
- import net.minecraft.entity.player.EntityPlayerMP;
- public class NailTrap extends ActiveEffectBase
- {
- @Override
- protected boolean executeEffect(EntityPlayerMP p, int power)
- {
- Location l = new Location(p);
- l.round();
- KajetansMod.effects.getEvent(TrapEffects.class).addNailTraps(l, KajetansMod.playerbank.getGuildId(p));
- KajetansMod.skills.send(p, "Du hast 9 Trittnagelfallen platziert.");
- return true;
- }
- }
|