Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Please change the numbers with a variable name

Open karingijs2727 opened this issue 6 years ago • 2 comments

apply speed 1 without particles to last spawned entity for 999 days set the last spawned entity's max health to 375 spawn zombie at location of {SPAWN} give 1 diamond sword of sharpness 5 to player

Can change the numbers with a variable ? please add this in the new version of skript

apply speed {SPEED} without particles to last spawned entity for {DAYS} days set the last spawned entity's max health to {HP} spawn {ZOMBIE} at location of {SPAWN} give {NUMBER} diamond sword of sharpness {NUMBER} to player

karingijs2727 avatar Mar 10 '20 18:03 karingijs2727

You can already do this...?

set {SPEED} to 1

etc.

Whimsyturtle avatar Mar 10 '20 23:03 Whimsyturtle

you actually gotta parse it as a potioneffecttype for this to work as the effect isn't an expression but rather a class info literal parser

abandonedaccount6235 avatar Mar 12 '20 05:03 abandonedaccount6235