-
Notifications
You must be signed in to change notification settings - Fork 2
[Artifact 1464] コール:デンキナマズの作成 #2101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
firgde
wants to merge
12
commits into
master
Choose a base branch
from
dev/firgde_1464
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6036e96
ArtifactとObjectの基本機能を作成
firgde 9a24a1b
ツールチップのデザイン
firgde 114f0e6
加工結果に登録
firgde 2f183a6
対象が動いていないと攻撃しないように
firgde d0fea90
演出の位置が出現位置に合うように
firgde 4e30e88
Objectの見た目を変更
firgde f36314c
攻撃情報を神器依存に
firgde 9cccc66
足元のブロックが壊れると消えるように
firgde 85cfff3
Loreをより正確に
firgde d96fd28
セレクターを修正
firgde 055fc41
nbt取得をapiで置き換え
firgde 6829b7d
データ取得処理を軽量化
firgde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/artifact/1464.call_electric_catfish/give/1.trigger.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #> asset:artifact/1464.call_electric_catfish/give/1.trigger | ||
| # | ||
| # 神器の取得処理の呼び出し時に実行されるfunction | ||
| # | ||
| # @within tag/function asset:artifact/give | ||
|
|
||
| execute if data storage asset:context {id:1464} run function asset:artifact/1464.call_electric_catfish/give/2.give |
68 changes: 68 additions & 0 deletions
68
Asset/data/asset/functions/artifact/1464.call_electric_catfish/give/2.give.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| #> asset:artifact/1464.call_electric_catfish/give/2.give | ||
| # | ||
| # 神器の作成部 ここでID等を定義する | ||
| # | ||
| # @user | ||
| # @within function asset:artifact/1464.call_electric_catfish/give/1.trigger | ||
|
|
||
| # 神器の説明や消費MPなどをここで設定する。 | ||
| # 最後にasset:artifact/common/giveを実行することで入手可能。 | ||
|
|
||
| # 神器のID (int) スプレッドシートの値を入れる | ||
| data modify storage asset:artifact ID set value 1464 | ||
| # 神器のベースアイテム | ||
| data modify storage asset:artifact Item set value "minecraft:carrot_on_a_stick" | ||
| # 神器の名前 (TextComponentString) | ||
| data modify storage asset:artifact Name set value '{"text": "コール:デンキナマズ", "color": "yellow"}' | ||
| # 神器の説明文 (TextComponentString[]) | ||
| data modify storage asset:artifact Lore set value ['{"text": "踏まれると周囲にダメージを", "extra": [{"text": "50", "color": "yellow"}, {"text": "与える、ナマズを召喚する。", "color": "white"}]}', '{"text": "「べちっ」「...」", "color": "gray"}'] | ||
| # 消費アイテム ({Item: TextComponent, Count: int, Extra?: TextComponent}) (オプション) | ||
| # data modify storage asset:artifact ConsumeItem.Item set value '{"translate":"item.minecraft.stick"}' | ||
| # data modify storage asset:artifact ConsumeItem.Count set value 1 | ||
| # data modify storage asset:artifact ConsumeItem.Extra set value | ||
| # 使用回数 (int) (オプション) | ||
| # data modify storage asset:artifact RemainingCount set value | ||
| # 神器を発動できるスロット (string) Wikiを参照 | ||
| data modify storage asset:artifact Slot set value "mainhand" | ||
| # 神器のトリガー (string) Wikiを参照 | ||
| data modify storage asset:artifact Trigger set value "onClick" | ||
| # 神器の発動条件 (TextComponentString) (オプション) | ||
| data modify storage asset:artifact Condition set value '{"text": "地面に立っているとき"}' | ||
| # 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション) | ||
| data modify storage asset:artifact AttackInfo.Damage set value [100] | ||
| # 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション) | ||
| data modify storage asset:artifact AttackInfo.AttackType set value [Physical] | ||
| # 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション) | ||
| data modify storage asset:artifact AttackInfo.ElementType set value [Thunder] | ||
| # 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション) | ||
| # data modify storage asset:artifact AttackInfo.BypassResist set value | ||
| # 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション) | ||
| data modify storage asset:artifact AttackInfo.IsRangeAttack set value "every" | ||
| # 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション) | ||
| # data modify storage asset:artifact AttackInfo.AttackRange set value | ||
| # MP消費量 (int) | ||
| data modify storage asset:artifact MPCost set value 80 | ||
| # MP必要量 (int) (オプション) | ||
| # data modify storage asset:artifact MPRequire set value | ||
| # MP回復量 (int) | ||
| # data modify storage asset:artifact MPHealWhenHit set value | ||
| # 神器のクールダウン (int) (オプション) | ||
| # data modify storage asset:artifact LocalCooldown set value | ||
| # 種別クールダウン ({Type: string, Duration: int}) (オプション) | ||
| data modify storage asset:artifact TypeCooldown.Type set value "summon" | ||
| data modify storage asset:artifact TypeCooldown.Duration set value 600 | ||
| # グローバルクールダウン (int) (オプション) | ||
| # data modify storage asset:artifact SpecialCooldown set value | ||
| # クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション) | ||
| # data modify storage asset:artifact DisableCooldownMessage set value | ||
| # MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション) | ||
| # data modify storage asset:artifact DisableMPMessage set value | ||
| # 破壊時の音を鳴らさないかどうか (boolean) (オプション) | ||
| # data modify storage asset:artifact DisableBreakSound set value | ||
| # 扱える神 (string[]) Wikiを参照 | ||
| data modify storage asset:artifact CanUsedGod set value ["Flora", "Nyaptov", "Rumor"] | ||
| # カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション) | ||
| # data modify storage asset:artifact CustomNBT set value {} | ||
|
|
||
| # 神器の入手用function | ||
| function asset:artifact/common/give |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/artifact/1464.call_electric_catfish/register.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #> asset:artifact/1464.call_electric_catfish/register | ||
| # | ||
| # 神器プールへの登録処理 | ||
| # | ||
| # @within tag/function asset:artifact/register | ||
|
|
||
| data modify storage asset:artifact RarityRegistry[3] append value [1464] |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/1.trigger.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #> asset:artifact/1464.call_electric_catfish/trigger/1.trigger | ||
| # | ||
| # 指定したイベントタイミングで実行されるfunction | ||
| # | ||
| # @within tag/function asset:artifact/** | ||
|
|
||
| # storage asset:idのmainhandに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する | ||
| execute if data storage asset:context id{mainhand:1464} run function asset:artifact/1464.call_electric_catfish/trigger/2.check_condition |
15 changes: 15 additions & 0 deletions
15
.../asset/functions/artifact/1464.call_electric_catfish/trigger/2.check_condition.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| #> asset:artifact/1464.call_electric_catfish/trigger/2.check_condition | ||
| # | ||
| # 神器の発動条件をチェックします | ||
| # | ||
| # @within function asset:artifact/1464.call_electric_catfish/trigger/1.trigger | ||
|
|
||
| # 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く | ||
| function asset:artifact/common/check_condition/mainhand | ||
|
|
||
| # 追加チェック:地面に立っていないならCanUsed剝奪 | ||
| function api:data_get/on_ground | ||
| execute unless data storage api: {OnGround:1b} run tag @s remove CanUsed | ||
|
|
||
| # CanUsedタグをチェックして3.main.mcfunctionを実行する | ||
| execute if entity @s[tag=CanUsed] run function asset:artifact/1464.call_electric_catfish/trigger/3.main |
18 changes: 18 additions & 0 deletions
18
Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/3.main.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| #> asset:artifact/1464.call_electric_catfish/trigger/3.main | ||
| # | ||
| # 神器のメイン処理部 | ||
| # | ||
| # @within function asset:artifact/1464.call_electric_catfish/trigger/2.check_condition | ||
|
|
||
| # 基本的な使用時の処理(MP消費や使用回数の処理など)を行う | ||
| function asset:artifact/common/use/mainhand | ||
|
|
||
| # ダメージ設定 | ||
| data modify storage api: Argument.FieldOverride.Damage set value 100.0f | ||
| data modify storage api: Argument.FieldOverride.AttackType set value "Physical" | ||
| data modify storage api: Argument.FieldOverride.ElementType set value "Thunder" | ||
|
|
||
| # 本体召喚 | ||
| data modify storage api: Argument.ID set value 1160 | ||
| execute store result storage api: Argument.FieldOverride.UserID int 1 run scoreboard players get @s UserID | ||
| function api:object/summon |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/1160.electric_catfish/_index.d.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #> asset:object/1160.electric_catfish/_index.d | ||
| # @private | ||
|
|
||
| #> tag | ||
| # @within function asset:object/1160.electric_catfish/** | ||
| #declare tag 1160.Inactive | ||
| #declare tag 1160.SteppedOn | ||
| #declare objective 1160.Cooldown |
13 changes: 13 additions & 0 deletions
13
Asset/data/asset/functions/object/1160.electric_catfish/init/.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| #> asset:object/1160.electric_catfish/init/ | ||
| # | ||
| # Objectのinit時の処理 | ||
| # | ||
| # @within asset:object/alias/1160/init | ||
|
|
||
| # ブロックの中心にtp(召喚時にtpするとinitされない) | ||
| execute align xz run tp @s ~0.5 ~ ~0.5 | ||
|
|
||
| # 演出 | ||
| execute align xz run particle poof ~0.5 ~0.5 ~0.5 0.1 0.1 0.1 0.05 5 | ||
|
|
||
| playsound entity.player.hurt neutral @a ~ ~ ~ 1 0.5 |
9 changes: 9 additions & 0 deletions
9
Asset/data/asset/functions/object/1160.electric_catfish/load.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| #> asset:object/1160.electric_catfish/load | ||
| # | ||
| # Objectに利用するスコアボード等の初期化処理 | ||
| # | ||
| # @within tag/function asset:object/load | ||
|
|
||
| #> 定義類はここに | ||
| # @within function asset:object/1160.electric_catfish/** | ||
| scoreboard objectives add 1160.Cooldown dummy |
23 changes: 23 additions & 0 deletions
23
Asset/data/asset/functions/object/1160.electric_catfish/register.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| #> asset:object/1160.electric_catfish/register | ||
| # | ||
| # Objectのデータを指定 | ||
| # | ||
| # @within function asset:object/alias/1160/register | ||
|
|
||
| # 継承(オプション) | ||
| # data modify storage asset:object Extends append value | ||
| # function asset:object/extends | ||
| # 他のObjectに継承されることを許可するか (boolean) (オプション) | ||
| # data modify storage asset:object ExtendsSafe set value | ||
| # 継承されることを前提とした、抽象的なObjectであるかどうか(boolean) | ||
| data modify storage asset:object IsAbstract set value false | ||
| # Tickするかどうか(boolean) (オプション) | ||
| # data modify storage asset:object IsTicking set value | ||
|
|
||
| # ID (int) | ||
| data modify storage asset:object ID set value 1160 | ||
| # フィールド(オプション) | ||
| data modify storage asset:object Field.Damage set value 0 | ||
| data modify storage asset:object Field.AttackType set value "" | ||
| data modify storage asset:object Field.ElementType set value "" | ||
| data modify storage asset:object Field.Motion set value [] |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/1160.electric_catfish/summon/.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #> asset:object/1160.electric_catfish/summon/ | ||
| # | ||
| # Object召喚処理の呼び出し時に実行されるfunction | ||
| # | ||
| # @within asset:object/alias/1160/summon | ||
|
|
||
| # 元となるEntityを召喚する | ||
| summon item_display ~ ~ ~ {Tags:["ObjectInit", "Friend"], item:{id:"minecraft:stick", Count:1b, tag:{CustomModelData:20628}}} |
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/object/1160.electric_catfish/summon/debug.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #> asset:object/1160.electric_catfish/summon/debug | ||
| # | ||
| # 動作チェック用の召喚処理 使い終わったら消してもいいかも | ||
| # | ||
| # @user | ||
| # @private | ||
|
|
||
| # 召喚 | ||
| data modify storage api: Argument.ID set value 1160 | ||
| function api:object/summon |
22 changes: 22 additions & 0 deletions
22
Asset/data/asset/functions/object/1160.electric_catfish/tick/.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #> asset:object/1160.electric_catfish/tick/ | ||
| # | ||
| # Objectのtick時の処理 | ||
| # | ||
| # @within asset:object/alias/1160/tick | ||
|
|
||
| # Tick加算 | ||
| scoreboard players add @s General.Object.Tick 1 | ||
|
|
||
| # クールダウン | ||
| execute if score @s 1160.Cooldown matches 1.. run scoreboard players remove @s 1160.Cooldown 1 | ||
| execute if score @s 1160.Cooldown matches 0 run tag @s remove 1160.Inactive | ||
|
|
||
| # 踏まれたどうかをチェック | ||
| execute unless entity @s[tag=1160.Inactive] positioned ~-0.5 ~ ~-0.5 as @e[type=#lib:living_without_player,dx=0,sort=nearest,limit=1] positioned ~ ~-0.8 ~ if entity @s[dx=0] run function asset:object/1160.electric_catfish/tick/check | ||
| execute positioned ~-0.5 ~ ~-0.5 if entity @e[type=#lib:living_without_player,tag=1160.SteppedOn,dx=0] at @s run function asset:object/1160.electric_catfish/tick/attack | ||
|
|
||
| # 足元にブロックがないなら消す | ||
| execute if block ~ ~-0.1 ~ #lib:no_collision/ run scoreboard players set @s General.Object.Tick 1200 | ||
|
|
||
| # 消滅処理 | ||
| execute if score @s General.Object.Tick matches 1200.. run function asset:object/1160.electric_catfish/tick/kill | ||
32 changes: 32 additions & 0 deletions
32
Asset/data/asset/functions/object/1160.electric_catfish/tick/attack.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| #> asset:object/1160.electric_catfish/tick/attack | ||
| # | ||
| # Objectのtick時の処理 | ||
| # | ||
| # @within asset:object/1160.electric_catfish/tick/** | ||
|
|
||
| # ダメージ設定 | ||
| data modify storage api: Argument.Damage set from storage asset:context this.Damage | ||
| data modify storage api: Argument.AttackType set from storage asset:context this.AttackType | ||
| data modify storage api: Argument.ElementType set from storage asset:context this.ElementType | ||
|
|
||
| # SteppedOnタグがついたEntityが対象 | ||
| execute as @e[tag=1160.SteppedOn,distance=..2,limit=1] run function api:damage/ | ||
|
firgde marked this conversation as resolved.
|
||
|
|
||
| # 周囲のMobにもダメージ | ||
| execute store result storage api: Argument.Damage float 0.5 run data get storage asset:context this.Damage | ||
| execute positioned ~-3.5 ~ ~-3.5 as @e[type=#lib:living_without_player,tag=!1160.SteppedOn,dx=7,dz=7] positioned ~ ~-0.2 ~ if entity @s[dx=7,dz=7] run function api:damage/ | ||
|
firgde marked this conversation as resolved.
|
||
|
|
||
| # リセット | ||
| function api:damage/reset | ||
| execute positioned ~-0.5 ~ ~-0.5 run tag @e[type=#lib:living_without_player,tag=1160.SteppedOn,dx=0,limit=1] remove 1160.SteppedOn | ||
|
|
||
| # 0.5秒のクールダウン | ||
| scoreboard players set @s 1160.Cooldown 10 | ||
| tag @s add 1160.Inactive | ||
|
|
||
| # 演出 | ||
| particle dust 1 1 0 2 ~ ~ ~ 1.5 0.1 1.5 0 100 | ||
|
|
||
| playsound entity.player.hurt neutral @a ~ ~ ~ 2 0.5 | ||
| playsound entity.allay.hurt neutral @a ~ ~ ~ 2 2.0 | ||
| playsound enchant.thorns.hit neutral @a ~ ~ ~ 2 1.0 | ||
29 changes: 29 additions & 0 deletions
29
Asset/data/asset/functions/object/1160.electric_catfish/tick/check.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| #> asset:object/1160.electric_catfish/tick/check | ||
| # | ||
| # | ||
| # | ||
| # @within asset:object/1160.electric_catfish/tick/** | ||
|
|
||
| #> private | ||
| # @private | ||
| #declare score_holder $MotionX | ||
| #declare score_holder $MotionZ | ||
|
|
||
| # thisにMotion保存 | ||
| data modify storage asset:context this.Motion set from entity @s Motion | ||
|
|
||
| # 動いているなら踏んだ判定 | ||
| execute store result score $MotionX Temporary run data get storage asset:context this.Motion[0] 100 | ||
| execute store result score $MotionZ Temporary run data get storage asset:context this.Motion[2] 100 | ||
|
|
||
| execute if score $MotionX Temporary matches ..-1 store result score $MotionX Temporary run data get storage asset:context this.Motion[0] -100 | ||
| execute if score $MotionZ Temporary matches ..-1 store result score $MotionZ Temporary run data get storage asset:context this.Motion[2] -100 | ||
|
|
||
| scoreboard players operation $MotionX Temporary += $MotionZ Temporary | ||
|
|
||
| execute if score $MotionX Temporary matches 1.. run tag @s add 1160.SteppedOn | ||
|
|
||
| # リセット | ||
| data remove storage asset:context this.Motion | ||
| scoreboard players reset $MotionX | ||
| scoreboard players reset $MotionZ |
11 changes: 11 additions & 0 deletions
11
Asset/data/asset/functions/object/1160.electric_catfish/tick/kill.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| #> asset:object/1160.electric_catfish/tick/kill | ||
| # | ||
| # Object削除の処理 | ||
| # | ||
| # @within function asset:object/1160.electric_catfish/tick/ | ||
|
|
||
| # 演出 | ||
| particle poof ~ ~0.5 ~ 0.1 0.1 0.1 0.05 5 | ||
|
|
||
| # 消す | ||
| kill @s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #> asset:object/alias/1160/init | ||
| # | ||
| # Init処理のエイリアス | ||
| # | ||
| # @within asset_manager:object/init/init.m | ||
|
|
||
| # 元のInit処理を呼び出す | ||
| function asset:object/1160.electric_catfish/init/ |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/alias/1160/register.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #> asset:object/alias/1160/register | ||
| # | ||
| # Objectのデータ指定処理のエイリアス | ||
| # | ||
| # @within asset_manager:object/summon/register.m | ||
|
|
||
| # 元の登録処理を呼び出す | ||
| function asset:object/1160.electric_catfish/register |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/alias/1160/summon.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #> asset:object/alias/1160/summon | ||
| # | ||
| # Object召喚処理のエイリアス | ||
| # | ||
| # @within asset_manager:object/summon/summon.m | ||
|
|
||
| # 元の召喚処理を呼び出す | ||
| function asset:object/1160.electric_catfish/summon/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #> asset:object/alias/1160/tick | ||
| # | ||
| # Tick時処理のエイリアス | ||
| # | ||
| # @within asset_manager:object/tick/tick.m | ||
|
|
||
| # 元のTick処理を呼び出す | ||
| function asset:object/1160.electric_catfish/tick/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1160.Cooldownをフィールドを使った実装にするとobjectivesの追加無しで実装できそう
めんどいと思うのでやらなくてもいい