くr
くr
PDCPlayerRealms developerS Community
Created by くr on 10/16/2023 in #help-forum
範囲攻撃ができなくなる
範囲攻撃も一緒にせっていできました
10 replies
PDCPlayerRealms developerS Community
Created by くr on 10/16/2023 in #help-forum
範囲攻撃ができなくなる
できました。ありがとうございます!
10 replies
PDCPlayerRealms developerS Community
Created by くr on 10/16/2023 in #help-forum
範囲攻撃ができなくなる
そういうことです。説明不足でした
10 replies
PDCPlayerRealms developerS Community
Created by 𝓓𝓮𝓮𝓵𝓪 on 10/2/2023 in #help-forum
set lore of tool of player to "あああ" with ・・・
set line 1 of lore of event-item to "text"
set line 1 of lore of event-item to "text"
でどうですか?
21 replies
PDCPlayerRealms developerS Community
Created by くr on 10/8/2023 in #help-forum
if {変数::%block%} <= 0が効かない
No description
6 replies
PDCPlayerRealms developerS Community
Created by くr on 10/8/2023 in #help-forum
if {変数::%block%} <= 0が効かない
うまくいかなかったとこ
functionのDestroyProcessの中にある{block.health::%{_block}%}が0より小さい数になっても 反応しなかった
6 replies
PDCPlayerRealms developerS Community
Created by くr on 10/8/2023 in #help-forum
if {変数::%block%} <= 0が効かない
function getBlockHolo(block: block) :: string:
set {_health.n} to {block.health::%{_block}%} / {max.block.health::%{_block}%}
if {_health.n} is between 0 and 0.1:
set {_string} to "&7[ &7||||%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.11 and 0.2:
set {_string} to "&7[ &a|&7|||%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.21 and 0.3:
set {_string} to "&7[ &a||&7||%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.31 and 0.4:
set {_string} to "&7[ &a|||&7|%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.41 and 0.6:
set {_string} to "&7[ &a||||&7%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.61 and 0.7:
set {_string} to "&7[ &a||||%{block.health::%{_block}%}%&7|||| &7]"
if {_health.n} is between 0.71 and 0.8:
set {_string} to "&7[ &a||||%{block.health::%{_block}%}%|&7||| &7]"
if {_health.n} is between 0.81 and 0.9:
set {_string} to "&7[ &a||||%{block.health::%{_block}%}%||&7|| &7]"
if {_health.n} is between 0.91 and 1:
set {_string} to "&7[ &a||||%{block.health::%{_block}%}%|||&7| &7]"
if {_health.n} is more than 1:
stop
return {_string}
function getBlockHolo(block: block) :: string:
set {_health.n} to {block.health::%{_block}%} / {max.block.health::%{_block}%}
if {_health.n} is between 0 and 0.1:
set {_string} to "&7[ &7||||%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.11 and 0.2:
set {_string} to "&7[ &a|&7|||%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.21 and 0.3:
set {_string} to "&7[ &a||&7||%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.31 and 0.4:
set {_string} to "&7[ &a|||&7|%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.41 and 0.6:
set {_string} to "&7[ &a||||&7%{block.health::%{_block}%}%|||| &7]"
if {_health.n} is between 0.61 and 0.7:
set {_string} to "&7[ &a||||%{block.health::%{_block}%}%&7|||| &7]"
if {_health.n} is between 0.71 and 0.8:
set {_string} to "&7[ &a||||%{block.health::%{_block}%}%|&7||| &7]"
if {_health.n} is between 0.81 and 0.9:
set {_string} to "&7[ &a||||%{block.health::%{_block}%}%||&7|| &7]"
if {_health.n} is between 0.91 and 1:
set {_string} to "&7[ &a||||%{block.health::%{_block}%}%|||&7| &7]"
if {_health.n} is more than 1:
stop
return {_string}
6 replies
PDCPlayerRealms developerS Community
Created by くr on 10/8/2023 in #help-forum
if {変数::%block%} <= 0が効かない
ホログラムのテキストとブロックの壊れ具合を取得するFunction
function getDestroyStage(block: block) :: integer:
set {_destroy.stage} to ({block.health::%{_block}%} / {max.block.health::%{_block}%})
if {_destroy.stage} is between 0 and 0.1:
set {_destroy.stage} to 9
if {_destroy.stage} is between 0.11 and 0.2:
set {_destroy.stage} to 8
if {_destroy.stage} is between 0.21 and 0.3:
set {_destroy.stage} to 7
if {_destroy.stage} is between 0.31 and 0.4:
set {_destroy.stage} to 6
if {_destroy.stage} is between 0.41 and 0.5:
set {_destroy.stage} to 5
if {_destroy.stage} is between 0.51 and 0.6:
set {_destroy.stage} to 4
if {_destroy.stage} is between 0.61 and 0.7:
set {_destroy.stage} to 3
if {_destroy.stage} is between 0.71 and 0.8:
set {_destroy.stage} to 2
if {_destroy.stage} is between 0.81 and 0.9:
set {_destroy.stage} to 1
if {_destroy.stage} is between 0.91 and 1:
set {_destroy.stage} to 0
return {_destroy.stage}
function getDestroyStage(block: block) :: integer:
set {_destroy.stage} to ({block.health::%{_block}%} / {max.block.health::%{_block}%})
if {_destroy.stage} is between 0 and 0.1:
set {_destroy.stage} to 9
if {_destroy.stage} is between 0.11 and 0.2:
set {_destroy.stage} to 8
if {_destroy.stage} is between 0.21 and 0.3:
set {_destroy.stage} to 7
if {_destroy.stage} is between 0.31 and 0.4:
set {_destroy.stage} to 6
if {_destroy.stage} is between 0.41 and 0.5:
set {_destroy.stage} to 5
if {_destroy.stage} is between 0.51 and 0.6:
set {_destroy.stage} to 4
if {_destroy.stage} is between 0.61 and 0.7:
set {_destroy.stage} to 3
if {_destroy.stage} is between 0.71 and 0.8:
set {_destroy.stage} to 2
if {_destroy.stage} is between 0.81 and 0.9:
set {_destroy.stage} to 1
if {_destroy.stage} is between 0.91 and 1:
set {_destroy.stage} to 0
return {_destroy.stage}
6 replies
PDCPlayerRealms developerS Community
Created by syumaidayo on 10/6/2023 in #help-forum
【解決済み】chat eventが反応してない
よかったですね!
64 replies
PDCPlayerRealms developerS Community
Created by syumaidayo on 10/6/2023 in #help-forum
【解決済み】chat eventが反応してない
最終手段は
on chat:
if name of player is "mcid":
cancel event
broadcast "chat format"
on chat:
if name of player is "mcid":
cancel event
broadcast "chat format"
じゃないですかね
64 replies
PDCPlayerRealms developerS Community
Created by くr on 9/22/2023 in #help-forum
リスト変数にテキストを入れたい
ありがとうございます!
20 replies
PDCPlayerRealms developerS Community
Created by くr on 9/22/2023 in #help-forum
リスト変数にテキストを入れたい
IDをつくればいいのですね
20 replies
PDCPlayerRealms developerS Community
Created by くr on 9/22/2023 in #help-forum
リスト変数にテキストを入れたい
そういうことだったのですか!
20 replies
PDCPlayerRealms developerS Community
Created by くr on 9/22/2023 in #help-forum
リスト変数にテキストを入れたい
2個目にテキストを入れるにはどこを直せばいいですか?
20 replies