Damaging Others (Not you)

Discussion in 'Plugin Development' started by GamerzKing, Nov 24, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    GamerzKing

    Hey everyone!

    Currently, I am making a game, and some of the abilities and such include vanilla Minecraft effects, such as lightning strikes. One of the abilities, after use, strikes lightning at the end location of the player who uses it, but it deals damage to other players AND the one who uses it.

    I was curious if there is a way to cause damage to everyone else, except the player who uses the ability. If so, how?

    Thanks for any help in advance, and have a good day!
    - GamerzKing
     
  2. Offline

    Scimiguy

    Just just World#playLightningEffect() or whatever that method is and manually damage the players you want to
     
Thread Status:
Not open for further replies.

Share This Page