I made a Skript and what it's going to do is spawn a cow. Called Kow and i want it to be like a boss. I would wanted to ask if my skript looks like it will work so far and if not, you could tell me what is wrong. Thanks! I also want to spawn the Kow at a random location when you do a command which will be /kow <location> which will be an arg. How do i refer to an arg if it's not in a command? Thanks!
options:
# Kow
Kowname: &c&l-=Kow=-
Kow: true
on skript start:
wait 180 minutes
spawn a cow
on spawn of a cow:
if {@Kow} is true:
chance of 100%:
set name of the cow to "{@Kowname}"
apply speed 2 to the cow for 9999 minutes
apple resistance 3 to the cow for 9999 minutes
apple strength 2 to the cow for 9999 minutes
apply fire resistance 1 to the cow for 9999 minutes
apply health boost 60 to the cow for 9999 miniutes
heal the cow
send "&7The &c&lKow &7has spawned in the %arg1%"
on spawn of a cow:
if "%target cause" is "CLOSEST_PLAYER":
target player
on damage of a cow:
if {@Kow} is true:
chance of 30%:
ignite all players within 10 meters of the cow for 5 seconds
send "&c&lBurn!" to all players within 10 meters of the cow
chance of 20%:
push all players within 10 meters of the cow upwards at speed 5
send "&9&lFly!" to all players within 10 meters of the cow
on death of a cow:
create a safe explosion with strength 5 at the cow
smite the cow
send "&7The kow has been destroyed! The next cow will spawn in <"
on spawn of a cow:
if {@Kow} is true:
command /kow <location>
options:
# Kow
Kowname: &c&l-=Kow=-
Kow: true
on skript start:
wait 180 minutes
spawn a cow
on spawn of a cow:
if {@Kow} is true:
chance of 100%:
set name of the cow to "{@Kowname}"
apply speed 2 to the cow for 9999 minutes
apple resistance 3 to the cow for 9999 minutes
apple strength 2 to the cow for 9999 minutes
apply fire resistance 1 to the cow for 9999 minutes
apply health boost 60 to the cow for 9999 miniutes
heal the cow
send "&7The &c&lKow &7has spawned in the %arg1%"
on spawn of a cow:
if "%target cause" is "CLOSEST_PLAYER":
target player
on damage of a cow:
if {@Kow} is true:
chance of 30%:
ignite all players within 10 meters of the cow for 5 seconds
send "&c&lBurn!" to all players within 10 meters of the cow
chance of 20%:
push all players within 10 meters of the cow upwards at speed 5
send "&9&lFly!" to all players within 10 meters of the cow
on death of a cow:
create a safe explosion with strength 5 at the cow
smite the cow
send "&7The kow has been destroyed! The next cow will spawn in <"
on spawn of a cow:
if {@Kow} is true:
command /kow <location>