On first join:
set {Race.%player%} to "Ophidian" or "Procyon" or "Trawl" or "Hound" or "Faun" or "Grimor" or "Scuttlian" or "Slugger"
Every tick:
loop all players:
if {Race.%loop-player%} is "Ophidian":
remove poison from loop-player
remove wither from loop-player
if {Race.%loop-player%} is "Procyon":
apply dolphins grace 2 to loop-player for 10 minutes
if {Race.%loop-player%} is "Grimor":
if loop-player is sneaking:
apply invisibility without particles to loop-player for 10 minutes
else:
remove invisibility from loop-player
On damage:
if {Race.%victim%} is "Grimor":
if damage cause is not fall:
set damage to (damage*1.2)
else if damage cause is fall:
set damage to (damage*0.5)
else if damage cause is drown:
set damage to (damage*2)
if {Race.%uuid of victim%} is "Scuttlian":
{ArmorPassive.%victim%} is above 0
set damage to (damage*0.95)
Command /setrace <Text>:
permission: race.set
trigger:
set {Race.%player%} to arg-1
This skript doesn't let me use the inventory. Whenever I try to select something it removes it. Help would be appreciated.
set {Race.%player%} to "Ophidian" or "Procyon" or "Trawl" or "Hound" or "Faun" or "Grimor" or "Scuttlian" or "Slugger"
Every tick:
loop all players:
if {Race.%loop-player%} is "Ophidian":
remove poison from loop-player
remove wither from loop-player
if {Race.%loop-player%} is "Procyon":
apply dolphins grace 2 to loop-player for 10 minutes
if {Race.%loop-player%} is "Grimor":
if loop-player is sneaking:
apply invisibility without particles to loop-player for 10 minutes
else:
remove invisibility from loop-player
On damage:
if {Race.%victim%} is "Grimor":
if damage cause is not fall:
set damage to (damage*1.2)
else if damage cause is fall:
set damage to (damage*0.5)
else if damage cause is drown:
set damage to (damage*2)
if {Race.%uuid of victim%} is "Scuttlian":
{ArmorPassive.%victim%} is above 0
set damage to (damage*0.95)
Command /setrace <Text>:
permission: race.set
trigger:
set {Race.%player%} to arg-1
This skript doesn't let me use the inventory. Whenever I try to select something it removes it. Help would be appreciated.