Solved Help spawn lightning

Discussion in 'Plugin Development' started by SrNicks_, May 8, 2015.

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

    SrNicks_

    How to spawn a thunder without him put fire and cause damage to the player?
     
  2. @SrNicks_ Send lightning then check damage event?
     
  3. Offline

    CoolGamerXD

    @SrNicks_ Its your option to how to spawn lightning (I mean by a command or through a item?). And for the no damage use EntityDamageEvent, check entity is player, get if cause is due to Lightning and finally set event cancelled.
     
  4. Offline

    SaxSalute

  5. Offline

    SrNicks_

    @SaySalute
    Thanks, is working properly
     
Thread Status:
Not open for further replies.

Share This Page