on:start {
if (playergotitem("item id")==1) {
"script to change the player health to 150"
}}
Is it possible?
on:start {
if (playergotitem("item id")==1) {
maxhealth "unit",1,150;
health "unit",1,150;
}
}
on:drop {
if (playergotitem("item id")==0) {
maxhealth "unit",1,100;
health "unit",1,100;
}
}