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>"
Question
Chqwy
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
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now