command spawnoverlord:
trigger:
spawn wither skeleton at {spawnlocationoverlord}
set {overlord} to last spawned entity
set name of last spawned wither skeleton to "a"
equip last spawned wither skeleton with {mobdropoverlord}
equip last spawned wither skeleton with {mobdropoverlordfeet}
equip last spawned wither skeleton with {mobdropoverlordchest}
equip last spawned wither skeleton with {mobdropoverlordlegs}
set last spawned wither skeleton's tool to netherite sword
set last spawned wither skeleton's offhand tool to netherite sword
#apply infinite swiftness 2 without any particles to the last spawned entity
set the max health of {overlord} to 3250
heal {overlord}
spawn text display at location of {overlord}
set {overlordisplay} to last spawned entity
set {_overlordhealth} to floor({overlord}'s health * 2)
set display text of {overlordisplay} to "&8&lDark Overlord &7%{_overlordhealth}%&8/&76500&c❤"
set display billboard of {overlordisplay} to vertical
set pitch of {overlordisplay} to 0
set display translation of {overlordisplay} to vector(0, 0.3, 0)
set display text opacity of {overlordisplay} to 1 # Ensure text is visible
set display shadow strength of {overlordisplay} to 0
set display shadow radius of {overlordisplay} to 0
set display see thru state of {overlordisplay} to false
make {overlordisplay} ride {overlord}
loop all players in radius 10 around {overlord}:
set {_loc} to location 2.5 blocks behind loop-player
teleport {overlord} to {_loc} retaining vehicle and passengers
wait 0.5 seconds
damage loop-player by 350
on entity target:
if event-entity is wolf:
if target is a wither skeleton:
set path target of wolf to {overlord}
cancel event
#how to make wither skeleton not be scared of wolfs
1 messages · Page 1 of 1 (latest)