I want to make a necromancer skript but when i kill the mob it does not get added
[doublepost=1682846685,1682846607][/doublepost]
So i want to make it so i kill something and i can revive it
[doublepost=1682847002][/doublepost]By the way I have the power as "Necromancer" and im holding the weapon while testing
[doublepost=1682847040][/doublepost]but the code does not work when i try spawn it because it dies and cant get the details because it already died
Code:
on death:
if the attacker's held item is a green dye named "&2Necromancer Fire &7(Tier 2)":
if {power.%attacker%} = "Necromancer":
if the victim is not a player:
add the victim to {deadmobs::*}
Code:
on right click:
if the player's held item is a green dye named "&2Necromancer Fire &7(Tier 2)":
if {power.%player%} = "Necromancer":
spawn {deadmobs::*} at the player
So i want to make it so i kill something and i can revive it
[doublepost=1682847002][/doublepost]By the way I have the power as "Necromancer" and im holding the weapon while testing
[doublepost=1682847040][/doublepost]but the code does not work when i try spawn it because it dies and cant get the details because it already died