Pixelmon Mod - Bug tracker

[8.1.2] /kill on Pokémon duplicate

Ticket description:
Hello, while making a map using a lot of command-blocs, including some that automatically kill every Pokémon going into an area they are not supposed to (so just a /kill @e[r=n,type=pixelmon:pixelmon]), I noticed something strangs at first.

All Ghost-type Pokémon are unaffected by the command. The command trigger properly, saying that the Pokémon has been killed, but it is still here (and so with command-blocs, it just spam the message every ticks)

I suppose that the problem come from the Ghost-type property of being untouchable (you can't hit them even with the setting activated to do so), since NPC have the same property, and present the same effect with the /kill command (even though it's more understandable in this case).

So there you go, it's not like a bug that will ruin things for a lot of people, but it might be interesting to have every Pokémon acting the same way towards such a command as /kill.

Thank you for your attention,
Zelda368

Comments

#22228 Posted by Barza » 22 Apr 2021 06:45

Thank you for the report.
This seems to be an unintended consequence of making certain types of pokemon only being able to take external damage from certain sources.
It's also what's most likely causing ghost type pokemon to not drop any loot.
Leaving this ticket open as i don't know the full status on this, but in the meantime, may i suggest inflicting magic damage in some way? Iirc, ghost types should be vulnerable to that.

#22231 Posted by Zelda368 » 22 Apr 2021 14:51

Okay then, I personally found a solution for my problem with some /TP instead of /Kill, which tend to be better than what I came up in the first place. But anyway, I'm glad that I was able to help, even so slightly! ^^

So I wish you a good continuation,
Zelda368

#22284 Posted by Barza » 05 May 2021 04:41

UPDATE:
Checked in, the issue is confirmed to be fixed for the next update.
Closing this ticket as duplicate as one with that status already exists.
https://www.pixelmonmod.com/tracker.php?p=2&t=15109

Ticket details

  • Ticket ID: 15678
  • Project: Pixelmon Mod
  • Status: Duplicate
  • Component: Other
  • Project version: 1.12.2-8.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: Forge 14.23.5.2854
  • What else would be useful to know?: (unknown)
  • Assigned to: Barza
  • Reported by: Zelda368
  • Reporter's tickets: (List all tickets)
  • Reported on: 19 Apr 2021 11:25
  • Ticket last visited by: Barza on 06 May 2021 09:21
JOIN THE TEAM