Item dissapearing on death [HEROES] [FALLINGBLOCKS]

Discussion in 'Plugin Development' started by brord, Dec 26, 2013.

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

    brord

    Hey guys! Im working on a skill for heroes, but i walked against a wall here.

    What this skill does is it shoots a dirtblock(fallingblock) and on the location it lands it will create an explosion and a circle of more falling dirtblocks. (Like a shockwave).

    Whenever i activate the skill, it works just fine, and does damage to those in the specified area.
    But when the player dies, his items are correclty spawned in the area, but are then removed for no appareant reason.
    (I know they have spawned, i checked it with an event).

    This does not always happen with animals, but most of the time it dissapears too.

    I am still using 1.6.4 since heroes >STILL< has to update...
    here is my code: http://pastebin.com/fJZTCxe1

    I would like to know why this happends and how i can prevent it :/
    (also, if you have a suggestion about the algorithm used, please tell me! I no star in math ^^)
    If anyone could help me out, id really appreaciate it!
     
  2. Offline

    Brocodo

    Yes, i need this too!
     
  3. Offline

    brord

    Bump :/ cmon guys!
     
Thread Status:
Not open for further replies.

Share This Page