There are no Skript error logs, but on death does not function, it doesn't add the number specified to my list variable. Someone help
on death:
attacker is player
victim is a husk
if victim's display name is "&8[&c1&8] &2Zombified Bandit":
make console execute command "givexp %player%"
command /summonmob:
permission: rpg.summon
permission message: {@prefix} &cInsufficient Permission!
trigger:
spawn 1 husk 1 meter above player's location
set name of last spawned entity to "&8[&c1&8] &2Zombified Bandit"
command /givexp <player>:
permission: rpg.givexp
permission message: {@prefix} &cInsufficient Permissions!
trigger:
set {_xpinteger} to random integer between 10 and 20
if arg-1 is set:
set {xp::%arg 1%} to {xp::%arg 1%}+{_xpinteger}
send "{@prefix} &aGained &c%arg-1% &aXP!"
else:
send "{@prefix} &cUsage: /givexp <player>"