Skip to content
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

🔧 [mob284]レクシエルV2の作成 #1306

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

🔧 [mob284]レクシエルV2の作成 #1306

wants to merge 17 commits into from

Conversation

quikku
Copy link
Member

@quikku quikku commented Dec 13, 2022

調整はあとからします

@quikku quikku requested a review from ChenCMD as a code owner December 13, 2022 14:13
Comment on lines 16 to 23
data modify storage lib: Argument.Damage set value 40.0f
# 魔法属性
data modify storage lib: Argument.AttackType set value "Magic"
# 属性
data modify storage lib: Argument.ElementType set value "Water"
# ダメージ
function lib:damage/modifier
execute as @a[gamemode=!creative,gamemode=!spectator,distance=..3] run function lib:damage/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

・ダメージ量が高すぎ
・ElementTypeがWaterになってる
・重要ではないけどgamemode=!crea,!specは!PlayerShouldInvulnerableにしよう

# 雪玉があるかみるなかったらリセットする
execute unless entity @e[type=snowball,tag=7W.ModelCore,distance=..0.01] run function asset:mob/0284.lexiel/tick/armorstand_respawn
# 雪玉の上のアマスタにタグ付与
execute positioned ~ ~0.29 ~ run tag @e[type=armor_stand,tag=7W.Model,distance=..0.01,limit=2] add 7W.ModelChangeTarget
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
execute positioned ~ ~0.29 ~ run tag @e[type=armor_stand,tag=7W.Model,distance=..0.01,limit=2] add 7W.ModelChangeTarget
execute positioned ~ ~0.25 ~ run tag @e[type=armor_stand,tag=7W.Model,distance=..0.01,limit=2] add 7W.ModelChangeTarget

アマスタは0.25m上にあるみたいなので

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants