whitechoco5810 b70eb77e15a04980b63c2e632fd63f36
이해도 | 초보자 |
---|---|
게임버전 (JE) | 1.20.1 |
게임버전 (BE) | 관련없음 |
스크립트 버전 | Skript-2.9.0 |
스크립트 애드온 | SkQuery-4.1.10,SkBee-3.5.7 |
스크립트 짜는중인데 자꾸 오류뜨네요...
16:06:46 INFO]: [Skript] Line 44: (보스몬스터.sk)
[16:06:46 INFO]: Can't understand this condition/effect: apply nbt {_nbt} to {_zombie}
[16:06:46 INFO]: Line: apply nbt {_nbt} to {_zombie}
[16:06:46 INFO]:
[16:06:47 INFO]: [Skript] Line 51: (보스몬스터.sk)
[16:06:47 INFO]: Can't understand this condition/effect: spawn 10 of flame at location of {_zombie}
[16:06:47 INFO]: Line: spawn 10 of flame at location of {_zombie}
[16:06:47 INFO]:
[16:06:47 INFO]: [Skript] Line 54: (보스몬스터.sk)
[16:06:47 INFO]: Variables cannot be used here.
[16:06:47 INFO]: Line: if loop-entity is not {_zombie} and (loop-entity is a player or loop-entity is a mob):
[16:06:47 INFO]:
[16:06:47 INFO]: [Skript] Line 44: (RTP.sk)
[16:06:47 INFO]: There's no block in a command event
[16:06:47 INFO]: Line: if block under loop-block is not {@avoid}:
[16:06:47 INFO]:
[16:06:47 INFO]: [Skript] Line 5: (보스몬스터.sk)
[16:06:47 INFO]: Can't understand this section: format gui slot 10 of player with nether star named "체력 설정" with lore "클릭하여 체력 설정" to close then run
[16:06:47 INFO]: Line: format gui slot 10 of player with nether star named "체력 설정" with lore "클릭하여 체력 설정" to close then run:
[16:06:47 INFO]:
[16:06:47 INFO]: [Skript] Line 15: (보스몬스터.sk)
[16:06:47 INFO]: Can't understand this section: format gui slot 12 of player with diamond sword named "공격력 설정" with lore "클릭하여 공격력 설정" to close then run
[16:06:47 INFO]: Line: format gui slot 12 of player with diamond sword named "공격력 설정" with lore "클릭하여 공격 력 설정" to close then run:
[16:06:47 INFO]:
[16:06:47 INFO]: [Skript] Line 25: (보스몬스터.sk)
[16:06:47 INFO]: Can't understand this section: format gui slot 14 of player with clock named "스킬 주기 설정" with lore "클릭하여 스킬 주기 설정" to close then run
[16:06:47 INFO]: Line: format gui slot 14 of player with clock named "스킬 주기 설정" with lore "클릭하여 스킬 주기 설정" to close then run:
[16:06:47 INFO]:
[16:06:47 INFO]: [Skript] Line 35: (보스몬스터.sk)
[16:06:47 INFO]: Can't understand this section: format gui slot 16 of player with spawn egg named "몬스터 소환" with lore "클릭하여 몬스터 소환" to close then run
[16:06:47 INFO]: Line: format gui slot 16 of player with spawn egg named "몬스터 소환" with lore "클릭하여 몬스터 소환" to close then run:
오류 메세지고
command /몬스터설정:
trigger:
open chest with 3 rows named "몬스터 설정" to player
wait 1 tick
format gui slot 10 of player with nether star named "체력 설정" with lore "클릭하여 체력 설정" to close then run:
open chest with 3 rows named "체력 설정" to player
wait 1 tick
format gui slot 10 of player with red wool named "50" to close then run:
set {monster::health} to 50
send "체력이 50으로 설정되었습니다." to player
format gui slot 11 of player with red wool named "100" to close then run:
set {monster::health} to 100
send "체력이 100으로 설정되었습니다." to player
format gui slot 12 of player with diamond sword named "공격력 설정" with lore "클릭하여 공격력 설정" to close then run:
open chest with 3 rows named "공격력 설정" to player
wait 1 tick
format gui slot 10 of player with iron sword named "10" to close then run:
set {monster::damage} to 10
send "공격력이 10으로 설정되었습니다." to player
format gui slot 11 of player with iron sword named "20" to close then run:
set {monster::damage} to 20
send "공격력이 20으로 설정되었습니다." to player
format gui slot 14 of player with clock named "스킬 주기 설정" with lore "클릭하여 스킬 주기 설정" to close then run:
open chest with 3 rows named "스킬 주기 설정" to player
wait 1 tick
format gui slot 10 of player with clock named "30초" to close then run:
set {monster::skill_interval} to 30
send "스킬 주기가 30초로 설정되었습니다." to player
format gui slot 11 of player with clock named "60초" to close then run:
set {monster::skill_interval} to 60
send "스킬 주기가 60초로 설정되었습니다." to player
format gui slot 16 of player with spawn egg named "몬스터 소환" with lore "클릭하여 몬스터 소환" to close then run:
call spawnCustomMonster(player's location)
function spawnCustomMonster(loc: location):
spawn a zombie at {_loc}
set {_zombie} to last spawned entity
set max health of {_zombie} to {monster::health}
set health of {_zombie} to {monster::health}
set {_nbt} to nbt compound from "{NoAI:1b}"
apply nbt {_nbt} to {_zombie}
set name of {_zombie} to "§b커스텀 몬스터"
set {_damage} to {monster::damage}
while {_zombie} is alive:
wait {monster::skill_interval} * 20 ticks
if {_zombie} is alive:
play sound "entity.blaze.shoot" at {_zombie}
spawn 10 of flame at location of {_zombie}
wait 30 ticks
loop all entities in radius 5 around {_zombie}:
if loop-entity is not {_zombie} and (loop-entity is a player or loop-entity is a mob):
deal ({_damage} * 2) damage to loop-entity
send "&cYou suffered %{_damage} * 2% damage from the custom monster's skill!" to loop-entity
on load:
broadcast "&a[커스텀 몬스터 스크립트] 로드 완료"
스크립트 내용입니다
S심심해
2024.07.19구문을 어디서 찾아서 쓰신건가요?