text:
#> asset:artifact/0261.holy_symbol_lv.1/trigger/symbol/vfx
#
# 魔法陣のparticleとSE
#
# @within function asset:artifact/0261.holy_symbol_lv.1/trigger/symbol/

# SE
    playsound minecraft:entity.evoker.cast_spell player @a ~ ~ ~ 0.6 0.8
    playsound minecraft:entity.evoker.cast_spell player @a ~ ~ ~ 0.8 1.8
    playsound minecraft:entity.evoker.prepare_summon player @a ~ ~ ~ 0.6 1.5
    playsound minecraft:block.enchantment_table.use player @a ~ ~ ~ 1.0 1.4
# パーティクル
    particle soul_fire_flame ~-0.68 ~0 ~4.16 0 0 0 0 1
    particle soul_fire_flame ~-1.02 ~0 ~4.12 0 0 0 0 1
    particle soul_fire_flame ~-1.32 ~0 ~4.03 0 0 0 0 1
    particle soul_fire_flame ~-1.66 ~0 ~3.91 0 0 0 0 1
    particle soul_fire_flame ~-1.96 ~0 ~3.78 0 0 0 0 1
    particle soul_fire_flame ~-2.26 ~0 ~3.61 0 0 0 0 1
    particle soul_fire_flame ~-3.66 ~0 ~2.21 0 0 0 0 1
    particle soul_fire_flame ~-3.83 ~0 ~1.91 0 0 0 0 1
    particle soul_fire_flame ~-3.96 ~0 ~1.61 0 0 0 0 1
    particle soul_fire_flame ~-4.08 ~0 ~1.27 0 0 0 0 1
    particle soul_fire_flame ~-4.17 ~0 ~0.97 0 0 0 0 1
    particle soul_fire_flame ~-4.21 ~0 ~0.63 0 0 0 0 1
    particle soul_fire_flame ~-4.21 ~0 ~-0.68 0 0 0 0 1
    particle soul_fire_flame ~-4.17 ~0 ~-1.02 0 0 0 0 1
    particle soul_fire_flame ~-4.08 ~0 ~-1.32 0 0 0 0 1
    particle soul_fire_flame ~-3.96 ~0 ~-1.66 0 0 0 0 1
    particle soul_fire_flame ~-3.83 ~0 ~-1.96 0 0 0 0 1
    particle soul_fire_flame ~-3.66 ~0 ~-2.26 0 0 0 0 1
    particle soul_fire_flame ~-2.26 ~0 ~-3.66 0 0 0 0 1
    particle soul_fire_flame ~-1.96 ~0 ~-3.83 0 0 0 0 1
    particle soul_fire_flame ~-1.66 ~0 ~-3.96 0 0 0 0 1
    particle soul_fire_flame ~-1.32 ~0 ~-4.08 0 0 0 0 1
    particle soul_fire_flame ~-1.02 ~0 ~-4.17 0 0 0 0 1
    particle soul_fire_flame ~-0.68 ~0 ~-4.21 0 0 0 0 1
    particle soul_fire_flame ~0.63 ~0 ~-4.21 0 0 0 0 1
    particle soul_fire_flame ~0.97 ~0 ~-4.17 0 0 0 0 1
    particle soul_fire_flame ~1.27 ~0 ~-4.08 0 0 0 0 1
    particle soul_fire_flame ~1.61 ~0 ~-3.96 0 0 0 0 1
    particle soul_fire_flame ~1.91 ~0 ~-3.83 0 0 0 0 1
    particle soul_fire_flame ~2.21 ~0 ~-3.66 0 0 0 0 1
    particle soul_fire_flame ~3.61 ~0 ~-2.26 0 0 0 0 1
    particle soul_fire_flame ~3.78 ~0 ~-1.96 0 0 0 0 1
    particle soul_fire_flame ~3.91 ~0 ~-1.66 0 0 0 0 1
    particle soul_fire_flame ~4.03 ~0 ~-1.32 0 0 0 0 1
    particle soul_fire_flame ~4.12 ~0 ~-1.02 0 0 0 0 1
    particle soul_fire_flame ~4.16 ~0 ~-0.68 0 0 0 0 1
    particle soul_fire_flame ~4.16 ~0 ~0.63 0 0 0 0 1
    particle soul_fire_flame ~4.12 ~0 ~0.97 0 0 0 0 1
    particle soul_fire_flame ~4.03 ~0 ~1.27 0 0 0 0 1
    particle soul_fire_flame ~3.91 ~0 ~1.61 0 0 0 0 1
    particle soul_fire_flame ~3.78 ~0 ~1.91 0 0 0 0 1
    particle soul_fire_flame ~3.61 ~0 ~2.21 0 0 0 0 1
    particle soul_fire_flame ~2.21 ~0 ~3.61 0 0 0 0 1
    particle soul_fire_flame ~1.91 ~0 ~3.78 0 0 0 0 1
    particle soul_fire_flame ~1.61 ~0 ~3.91 0 0 0 0 1
    particle soul_fire_flame ~1.27 ~0 ~4.03 0 0 0 0 1
    particle soul_fire_flame ~0.97 ~0 ~4.12 0 0 0 0 1
    particle soul_fire_flame ~0.63 ~0 ~4.16 0 0 0 0 1
    particle soul_fire_flame ~-0.6 ~0 ~3.67 0 0 0 0 1
    particle soul_fire_flame ~-0.9 ~0 ~3.63 0 0 0 0 1
    particle soul_fire_flame ~-1.17 ~0 ~3.56 0 0 0 0 1
    particle soul_fire_flame ~-3.6 ~0 ~1.12 0 0 0 0 1
    particle soul_fire_flame ~-3.68 ~0 ~0.86 0 0 0 0 1
    particle soul_fire_flame ~-3.72 ~0 ~0.56 0 0 0 0 1
    particle soul_fire_flame ~-3.72 ~0 ~-0.6 0 0 0 0 1
    particle soul_fire_flame ~-3.68 ~0 ~-0.9 0 0 0 0 1
    particle soul_fire_flame ~-3.6 ~0 ~-1.17 0 0 0 0 1
    particle soul_fire_flame ~-1.17 ~0 ~-3.6 0 0 0 0 1
    particle soul_fire_flame ~-0.9 ~0 ~-3.68 0 0 0 0 1
    particle soul_fire_flame ~-0.6 ~0 ~-3.72 0 0 0 0 1
    particle soul_fire_flame ~0.56 ~0 ~-3.72 0 0 0 0 1
    particle soul_fire_flame ~0.86 ~0 ~-3.68 0 0 0 0 1
    particle soul_fire_flame ~1.12 ~0 ~-3.6 0 0 0 0 1
    particle soul_fire_flame ~3.56 ~0 ~-1.17 0 0 0 0 1
    particle soul_fire_flame ~3.63 ~0 ~-0.9 0 0 0 0 1
    particle soul_fire_flame ~3.67 ~0 ~-0.6 0 0 0 0 1
    particle soul_fire_flame ~3.67 ~0 ~0.56 0 0 0 0 1
    particle soul_fire_flame ~3.63 ~0 ~0.86 0 0 0 0 1
    particle soul_fire_flame ~3.56 ~0 ~1.12 0 0 0 0 1
    particle soul_fire_flame ~1.12 ~0 ~3.56 0 0 0 0 1
    particle soul_fire_flame ~0.86 ~0 ~3.63 0 0 0 0 1
    particle soul_fire_flame ~0.56 ~0 ~3.67 0 0 0 0 1
    particle soul_fire_flame ~-1.24 ~0 ~2.27 0 0 0 0 1
    particle soul_fire_flame ~1.2 ~0 ~-2.26 0 0 0 0 1
    particle soul_fire_flame ~2.25 ~0 ~1.2 0 0 0 0 1
    particle soul_fire_flame ~-2.28 ~0 ~-1.24 0 0 0 0 1
    particle soul_fire_flame ~2.25 ~0 ~-1.22 0 0 0 0 1
    particle soul_fire_flame ~2.0757688920974733 ~0 ~-1.0457688920974733 0 0 0 0 1
    particle soul_fire_flame ~1.9015377841949463 ~0 ~-0.8715377841949464 0 0 0 0 1
    particle soul_fire_flame ~1.7273066762924196 ~0 ~-0.6973066762924196 0 0 0 0 1
    particle soul_fire_flame ~1.553075568389893 ~0 ~-0.5230755683898928 0 0 0 0 1
    particle soul_fire_flame ~1.3788444604873662 ~0 ~-0.3488444604873659 0 0 0 0 1
    particle soul_fire_flame ~1.2046133525848395 ~0 ~-0.174613352584839 0 0 0 0 1
    particle soul_fire_flame ~1.0303822446823128 ~0 ~-0.00038224468231213594 0 0 0 0 1
    particle soul_fire_flame ~-0.015004402732848357 ~0 ~1.045004402732849 0 0 0 0 1
    particle soul_fire_flame ~-0.18923551063537525 ~0 ~1.2192355106353758 0 0 0 0 1
    particle soul_fire_flame ~-0.36346661853790213 ~0 ~1.3934666185379025 0 0 0 0 1
    particle soul_fire_flame ~-0.537697726440429 ~0 ~1.5676977264404293 0 0 0 0 1
    particle soul_fire_flame ~-0.7119288343429558 ~0 ~1.741928834342956 0 0 0 0 1
    particle soul_fire_flame ~-0.8861599422454827 ~0 ~1.9161599422454827 0 0 0 0 1
    particle soul_fire_flame ~-1.0603910501480096 ~0 ~2.090391050148009 0 0 0 0 1
    particle soul_fire_flame ~-2.29 ~0 ~1.23 0 0 0 0 1
    particle soul_fire_flame ~-2.1156274707436564 ~0 ~1.0556441829442977 0 0 0 0 1
    particle soul_fire_flame ~-1.9412549414873126 ~0 ~0.8812883658885955 0 0 0 0 1
    particle soul_fire_flame ~-1.766882412230969 ~0 ~0.7069325488328932 0 0 0 0 1
    particle soul_fire_flame ~-1.5925098829746254 ~0 ~0.532576731777191 0 0 0 0 1
    particle soul_fire_flame ~-1.4181373537182818 ~0 ~0.35822091472148876 0 0 0 0 1
    particle soul_fire_flame ~-1.2437648244619381 ~0 ~0.18386509766578654 0 0 0 0 1
    particle soul_fire_flame ~-1.0693922952055945 ~0 ~0.009509280610084329 0 0 0 0 1
    particle soul_fire_flame ~-0.023157119667531423 ~0 ~-1.0366256217241292 0 0 0 0 1
    particle soul_fire_flame ~0.15121540958881244 ~0 ~-1.2109814387798314 0 0 0 0 1
    particle soul_fire_flame ~0.3255879388451563 ~0 ~-1.3853372558355337 0 0 0 0 1
    particle soul_fire_flame ~0.4999604681015002 ~0 ~-1.559693072891236 0 0 0 0 1
    particle soul_fire_flame ~0.674332997357844 ~0 ~-1.7340488899469382 0 0 0 0 1
    particle soul_fire_flame ~0.8487055266141879 ~0 ~-1.9084047070026404 0 0 0 0 1
    particle soul_fire_flame ~1.0230780558705317 ~0 ~-2.082760524058343 0 0 0 0 1
    particle soul_fire_flame ~-1.24 ~0 ~-2.29 0 0 0 0 1
    particle soul_fire_flame ~-1.0654693089246752 ~0 ~-2.1155027751445767 0 0 0 0 1
    particle soul_fire_flame ~-0.8909386178493501 ~0 ~-1.941005550289154 0 0 0 0 1
    particle soul_fire_flame ~-0.7164079267740251 ~0 ~-1.766508325433731 0 0 0 0 1
    particle soul_fire_flame ~-0.5418772356987 ~0 ~-1.5920111005783082 0 0 0 0 1
    particle soul_fire_flame ~-0.367346544623375 ~0 ~-1.4175138757228853 0 0 0 0 1
    particle soul_fire_flame ~-0.19281585354805 ~0 ~-1.2430166508674625 0 0 0 0 1
    particle soul_fire_flame ~-0.018285162472724995 ~0 ~-1.0685194260120396 0 0 0 0 1
    particle soul_fire_flame ~1.0288989839792249 ~0 ~-0.021536076879501466 0 0 0 0 1
    particle soul_fire_flame ~1.2034296750545497 ~0 ~0.1529611479759215 0 0 0 0 1
    particle soul_fire_flame ~1.3779603661298745 ~0 ~0.3274583728313445 0 0 0 0 1
    particle soul_fire_flame ~1.5524910572051993 ~0 ~0.5019555976867675 0 0 0 0 1
    particle soul_fire_flame ~1.7270217482805241 ~0 ~0.6764528225421905 0 0 0 0 1
    particle soul_fire_flame ~1.901552439355849 ~0 ~0.8509500473976136 0 0 0 0 1
    particle soul_fire_flame ~2.0760831304311735 ~0 ~1.0254472722530366 0 0 0 0 1
    particle soul_fire_flame ~1.21 ~0 ~2.25 0 0 0 0 1
    particle soul_fire_flame ~1.0356107438445092 ~0 ~2.0756441829442975 0 0 0 0 1
    particle soul_fire_flame ~0.8612214876890184 ~0 ~1.9012883658885953 0 0 0 0 1
    particle soul_fire_flame ~0.6868322315335276 ~0 ~1.726932548832893 0 0 0 0 1
    particle soul_fire_flame ~0.5124429753780367 ~0 ~1.5525767317771908 0 0 0 0 1
    particle soul_fire_flame ~0.33805371922254585 ~0 ~1.3782209147214886 0 0 0 0 1
    particle soul_fire_flame ~0.16366446306705495 ~0 ~1.2038650976657863 0 0 0 0 1
    particle soul_fire_flame ~-0.010724793088435918 ~0 ~1.029509280610084 0 0 0 0 1
    particle soul_fire_flame ~-1.0570603300213808 ~0 ~-0.016625621724129343 0 0 0 0 1
    particle soul_fire_flame ~-1.2314495861768715 ~0 ~-0.19098143877983156 0 0 0 0 1
    particle soul_fire_flame ~-1.4058388423323622 ~0 ~-0.3653372558355338 0 0 0 0 1
    particle soul_fire_flame ~-1.580228098487853 ~0 ~-0.539693072891236 0 0 0 0 1
    particle soul_fire_flame ~-1.7546173546433437 ~0 ~-0.7140488899469383 0 0 0 0 1
    particle soul_fire_flame ~-1.9290066107988344 ~0 ~-0.8884047070026405 0 0 0 0 1
    particle soul_fire_flame ~-2.103395866954325 ~0 ~-1.0627605240583429 0 0 0 0 1
    particle soul_fire_flame ~-1.26 ~0 ~3.32 0 0 0 0 1
    particle soul_fire_flame ~-1.49539944357872 ~0 ~3.369387111237646 0 0 0 0 1
    particle soul_fire_flame ~-1.7309105494976047 ~0 ~3.406489097824694 0 0 0 0 1
    particle soul_fire_flame ~-1.9662014011144642 ~0 ~3.431201521202923 0 0 0 0 1
    particle soul_fire_flame ~-2.201298618030549 ~0 ~3.443600681471827 0 0 0 0 1
    particle soul_fire_flame ~-2.43663210451603 ~0 ~3.4437242752835178 0 0 0 0 1
    particle soul_fire_flame ~-2.6724293882846837 ~0 ~3.431399702787402 0 0 0 0 1
    particle soul_fire_flame ~-2.907544593203068 ~0 ~3.406815700981024 0 0 0 0 1
    particle soul_fire_flame ~-3.1416713875770568 ~0 ~3.370081477689746 0 0 0 0 1
    particle soul_fire_flame ~-3.38 ~0 ~3.32 0 0 0 0 1
    particle soul_fire_flame ~-3.429364541187882 ~0 ~3.0845958278059964 0 0 0 0 1
    particle soul_fire_flame ~-3.4664213811278337 ~0 ~2.8490782131671915 0 0 0 0 1
    particle soul_fire_flame ~-3.4911313574343907 ~0 ~2.6133865091681487 0 0 0 0 1
    particle soul_fire_flame ~-3.5034758586898427 ~0 ~2.3782884915828713 0 0 0 0 1
    particle soul_fire_flame ~-3.503539467679707 ~0 ~2.142759175479413 0 0 0 0 1
    particle soul_fire_flame ~-3.4912173418149326 ~0 ~1.9069670803904546 0 0 0 0 1
    particle soul_fire_flame ~-3.4665538889765712 ~0 ~1.6716642428636561 0 0 0 0 1
    particle soul_fire_flame ~-3.429702663254734 ~0 ~1.4367500838279736 0 0 0 0 1
    particle soul_fire_flame ~-3.38 ~0 ~1.2 0 0 0 0 1
    particle soul_fire_flame ~-3.38 ~0 ~-1.26 0 0 0 0 1
    particle soul_fire_flame ~-3.429375820598006 ~0 ~-1.4954021048665047 0 0 0 0 1
    particle soul_fire_flame ~-3.4664439506053917 ~0 ~-1.7309188294529922 0 0 0 0 1
    particle soul_fire_flame ~-3.491167649284004 ~0 ~-1.9662093849778186 0 0 0 0 1
    particle soul_fire_flame ~-3.503555518913268 ~0 ~-2.201309263181688 0 0 0 0 1
    particle soul_fire_flame ~-3.503667822085319 ~0 ~-2.436643974006178 0 0 0 0 1
    particle soul_fire_flame ~-3.4913996320664857 ~0 ~-2.6724453560113925 0 0 0 0 1
    particle soul_fire_flame ~-3.4668155931264133 ~0 ~-2.907563222217562 0 0 0 0 1
    particle soul_fire_flame ~-3.4300812369585003 ~0 ~-3.1416926778793353 0 0 0 0 1
    particle soul_fire_flame ~-3.38 ~0 ~-3.38 0 0 0 0 1
    particle soul_fire_flame ~-3.1443991126060484 ~0 ~-3.429378052943945 0 0 0 0 1
    particle soul_fire_flame ~-2.9088799108743673 ~0 ~-3.466402218741179 0 0 0 0 1
    particle soul_fire_flame ~-2.673187125396729 ~0 ~-3.4910792822450403 0 0 0 0 1
    particle soul_fire_flame ~-2.437889837265015 ~0 ~-3.5034412026911976 0 0 0 0 1
    particle soul_fire_flame ~-2.202357837975026 ~0 ~-3.503472584594042 0 0 0 0 1
    particle soul_fire_flame ~-1.9663583143949517 ~0 ~-3.491170431217552 0 0 0 0 1
    particle soul_fire_flame ~-1.7310486094117172 ~0 ~-3.4664760043710476 0 0 0 0 1
    particle soul_fire_flame ~-1.4951432020187385 ~0 ~-3.429414234995843 0 0 0 0 1
    particle soul_fire_flame ~-1.26 ~0 ~-3.38 0 0 0 0 1
    particle soul_fire_flame ~1.2 ~0 ~-3.38 0 0 0 0 1
    particle soul_fire_flame ~1.4356008873939516 ~0 ~-3.429378052943945 0 0 0 0 1
    particle soul_fire_flame ~1.671120089125634 ~0 ~-3.466402218741179 0 0 0 0 1
    particle soul_fire_flame ~1.9068128746032724 ~0 ~-3.4910792822450403 0 0 0 0 1
    particle soul_fire_flame ~2.1421101627349866 ~0 ~-3.5034412026911976 0 0 0 0 1
    particle soul_fire_flame ~2.377642162024976 ~0 ~-3.503472584594042 0 0 0 0 1
    particle soul_fire_flame ~2.6136416856050513 ~0 ~-3.491170431217552 0 0 0 0 1
    particle soul_fire_flame ~2.8489513905882853 ~0 ~-3.4664760043710476 0 0 0 0 1
    particle soul_fire_flame ~3.084856797981264 ~0 ~-3.429414234995843 0 0 0 0 1
    particle soul_fire_flame ~3.32 ~0 ~-3.38 0 0 0 0 1
    particle soul_fire_flame ~3.369423228982092 ~0 ~-3.144403844678402 0 0 0 0 1
    particle soul_fire_flame ~3.406469966250659 ~0 ~-2.908885233449937 0 0 0 0 1
    particle soul_fire_flame ~3.4311809173494594 ~0 ~-2.6731951092600834 0 0 0 0 1
    particle soul_fire_flame ~3.44353152780831 ~0 ~-2.437899274730684 0 0 0 0 1
    particle soul_fire_flame ~3.4435854909904324 ~0 ~-2.20237114441395 0 0 0 0 1
    particle soul_fire_flame ~3.4312381363600513 ~0 ~-1.96637956607342 0 0 0 0 1
    particle soul_fire_flame ~3.406555025997761 ~0 ~-1.7310775979757334 0 0 0 0 1
    particle soul_fire_flame ~3.369414127159122 ~0 ~-1.4951976248741177 0 0 0 0 1
    particle soul_fire_flame ~3.32 ~0 ~-1.26 0 0 0 0 1
    particle soul_fire_flame ~3.32 ~0 ~1.2 0 0 0 0 1
    particle soul_fire_flame ~3.369423228982092 ~0 ~1.435596155321598 0 0 0 0 1
    particle soul_fire_flame ~3.406469966250659 ~0 ~1.6711147665500643 0 0 0 0 1
    particle soul_fire_flame ~3.4311809173494594 ~0 ~1.906804890739918 0 0 0 0 1
    particle soul_fire_flame ~3.44353152780831 ~0 ~2.142100725269318 0 0 0 0 1
    particle soul_fire_flame ~3.4435854909904324 ~0 ~2.377628855586052 0 0 0 0 1
    particle soul_fire_flame ~3.4312381363600513 ~0 ~2.613620433926583 0 0 0 0 1
    particle soul_fire_flame ~3.406555025997761 ~0 ~2.8489224020242694 0 0 0 0 1
    particle soul_fire_flame ~3.369414127159122 ~0 ~3.0848023751258853 0 0 0 0 1
    particle soul_fire_flame ~3.32 ~0 ~3.32 0 0 0 0 1
    particle soul_fire_flame ~3.08460055642128 ~0 ~3.369387111237646 0 0 0 0 1
    particle soul_fire_flame ~2.8490894505023965 ~0 ~3.406489097824694 0 0 0 0 1
    particle soul_fire_flame ~2.6137985988855372 ~0 ~3.431201521202923 0 0 0 0 1
    particle soul_fire_flame ~2.3787013819694534 ~0 ~3.443600681471827 0 0 0 0 1
    particle soul_fire_flame ~2.1433678954839728 ~0 ~3.4437242752835178 0 0 0 0 1
    particle soul_fire_flame ~1.9075706117153195 ~0 ~3.431399702787402 0 0 0 0 1
    particle soul_fire_flame ~1.672455406796935 ~0 ~3.406815700981024 0 0 0 0 1
    particle soul_fire_flame ~1.4383286124229464 ~0 ~3.370081477689746 0 0 0 0 1
    particle soul_fire_flame ~1.2 ~0 ~3.32 0 0 0 0 1
    particle soul_fire_flame ~-1.36 ~0 ~2.51 0 0 0 0 1
    particle soul_fire_flame ~-1.33 ~0 ~2.83 0 0 0 0 1
    particle soul_fire_flame ~-1.32 ~0 ~3.15 0 0 0 0 1
    particle soul_fire_flame ~-3.23 ~0 ~1.24 0 0 0 0 1
    particle soul_fire_flame ~-2.91 ~0 ~1.24 0 0 0 0 1
    particle soul_fire_flame ~-2.59 ~0 ~1.28 0 0 0 0 1
    particle soul_fire_flame ~-2.58 ~0 ~-1.33 0 0 0 0 1
    particle soul_fire_flame ~-2.89 ~0 ~-1.3 0 0 0 0 1
    particle soul_fire_flame ~-3.22 ~0 ~-1.29 0 0 0 0 1
    particle soul_fire_flame ~-1.31 ~0 ~-3.2 0 0 0 0 1
    particle soul_fire_flame ~-1.31 ~0 ~-2.88 0 0 0 0 1
    particle soul_fire_flame ~-1.34 ~0 ~-2.56 0 0 0 0 1
    particle soul_fire_flame ~1.29 ~0 ~-2.58 0 0 0 0 1
    particle soul_fire_flame ~1.26 ~0 ~-2.9 0 0 0 0 1
    particle soul_fire_flame ~1.25 ~0 ~-3.22 0 0 0 0 1
    particle soul_fire_flame ~3.16 ~0 ~-1.31 0 0 0 0 1
    particle soul_fire_flame ~2.84 ~0 ~-1.31 0 0 0 0 1
    particle soul_fire_flame ~2.52 ~0 ~-1.35 0 0 0 0 1
    particle soul_fire_flame ~2.51 ~0 ~1.26 0 0 0 0 1
    particle soul_fire_flame ~2.82 ~0 ~1.23 0 0 0 0 1
    particle soul_fire_flame ~3.15 ~0 ~1.23 0 0 0 0 1
    particle soul_fire_flame ~1.24 ~0 ~3.13 0 0 0 0 1
    particle soul_fire_flame ~1.24 ~0 ~2.81 0 0 0 0 1
    particle soul_fire_flame ~1.27 ~0 ~2.49 0 0 0 0 1
    particle soul_fire_flame ~-1.07 ~0 ~1.05 0 0 0 0 1
    particle soul_fire_flame ~-0.935120294559002 ~0 ~0.8382342382788659 0 0 0 0 1
    particle soul_fire_flame ~-0.8301239575505257 ~0 ~0.6264119121074677 0 0 0 0 1
    particle soul_fire_flame ~-0.7550833467483521 ~0 ~0.4146535174012184 0 0 0 0 1
    particle soul_fire_flame ~-0.7099190572321414 ~0 ~0.20283867104053502 0 0 0 0 1
    particle soul_fire_flame ~-0.6947759250623173 ~0 ~-0.009387004673480904 0 0 0 0 1
    particle soul_fire_flame ~-0.7095007150173186 ~0 ~-0.22029434473514545 0 0 0 0 1
    particle soul_fire_flame ~-0.7542290401875972 ~0 ~-0.43217906682491286 0 0 0 0 1
    particle soul_fire_flame ~-0.8289628708362577 ~0 ~-0.6439947956562041 0 0 0 0 1
    particle soul_fire_flame ~-0.933540040075779 ~0 ~-0.8556088168263435 0 0 0 0 1
    particle soul_fire_flame ~-1.07 ~0 ~-1.07 0 0 0 0 1
    particle soul_fire_flame ~-0.857866736650467 ~0 ~-0.9349367261052132 0 0 0 0 1
    particle soul_fire_flame ~-0.6456337998390199 ~0 ~-0.8298788400173187 0 0 0 0 1
    particle soul_fire_flame ~-0.43366239495277414 ~0 ~-0.7549324999332426 0 0 0 0 1
    particle soul_fire_flame ~-0.2216745166778567 ~0 ~-0.709969500541687 0 0 0 0 1
    particle soul_fire_flame ~-0.00876065870523482 ~0 ~-0.6949606861521256 0 0 0 0 1
    particle soul_fire_flame ~0.20235008406639077 ~0 ~-0.7100109101533888 0 0 0 0 1
    particle soul_fire_flame ~0.4157039790749548 ~0 ~-0.7553919801950454 0 0 0 0 1
    particle soul_fire_flame ~0.626210366296768 ~0 ~-0.8300444593906402 0 0 0 0 1
    particle soul_fire_flame ~0.8393954377174375 ~0 ~-0.9357367412686346 0 0 0 0 1
    particle soul_fire_flame ~1.05 ~0 ~-1.07 0 0 0 0 1
    particle soul_fire_flame ~0.9149639166474342 ~0 ~-0.8578501864671707 0 0 0 0 1
    particle soul_fire_flame ~0.8100114036023617 ~0 ~-0.6457848691105842 0 0 0 0 1
    particle soul_fire_flame ~0.7351941383063794 ~0 ~-0.4339683611989019 0 0 0 0 1
    particle soul_fire_flame ~0.6902943774580954 ~0 ~-0.22194298875331842 0 0 0 0 1
    particle soul_fire_flame ~0.6753857590644037 ~0 ~-0.009176900684833037 0 0 0 0 1
    particle soul_fire_flame ~0.6904225385427473 ~0 ~0.20202515300512366 0 0 0 0 1
    particle soul_fire_flame ~0.7354127640366552 ~0 ~0.4139731298089033 0 0 0 0 1
    particle soul_fire_flame ~0.8106999733686447 ~0 ~0.6267914695262914 0 0 0 0 1
    particle soul_fire_flame ~0.9160720176815986 ~0 ~0.8392964886426931 0 0 0 0 1
    particle soul_fire_flame ~1.05 ~0 ~1.05 0 0 0 0 1
    particle soul_fire_flame ~0.8382098153352738 ~0 ~0.9151405851244926 0 0 0 0 1
    particle soul_fire_flame ~0.6263630590438841 ~0 ~0.8101848463773726 0 0 0 0 1
    particle soul_fire_flame ~0.4145888199806211 ~0 ~0.735205110991001 0 0 0 0 1
    particle soul_fire_flame ~0.20276957569122275 ~0 ~0.6901625913739203 0 0 0 0 1
    particle soul_fire_flame ~-0.00982313096523335 ~0 ~0.6750804968945738 0 0 0 0 1
    particle soul_fire_flame ~-0.22088012030124715 ~0 ~0.6899496615529059 0 0 0 0 1
    particle soul_fire_flame ~-0.43270649576187187 ~0 ~0.734747212922573 0 0 0 0 1
    particle soul_fire_flame ~-0.6446856222152715 ~0 ~0.8095186406612395 0 0 0 0 1
    particle soul_fire_flame ~-0.8562666516065603 ~0 ~0.9141164381861685 0 0 0 0 1
    particle soul_fire_flame ~-1.87 ~0 ~3.08 0 0 0 0 1
    particle soul_fire_flame ~-2.128234893023968 ~0 ~3.1600199086070058 0 0 0 0 1
    particle soul_fire_flame ~-2.383994673025608 ~0 ~3.2000595234215257 0 0 0 0 1
    particle soul_fire_flame ~-2.638098066818714 ~0 ~3.200179709815978 0 0 0 0 1
    particle soul_fire_flame ~-2.8898501445293423 ~0 ~3.160290029096602 0 0 0 0 1
    particle soul_fire_flame ~-3.14 ~0 ~3.08 0 0 0 0 1
    particle soul_fire_flame ~-3.2200931997776037 ~0 ~2.8150482760071753 0 0 0 0 1
    particle soul_fire_flame ~-3.2602212916538122 ~0 ~2.5558890813589095 0 0 0 0 1
    particle soul_fire_flame ~-3.2603639417409904 ~0 ~2.302139531219005 0 0 0 0 1
    particle soul_fire_flame ~-3.220576172733308 ~0 ~2.054225340032577 0 0 0 0 1
    particle soul_fire_flame ~-3.14 ~0 ~1.81 0 0 0 0 1
    particle soul_fire_flame ~-3.14 ~0 ~-1.87 0 0 0 0 1
    particle soul_fire_flame ~-3.2200570124834775 ~0 ~-2.1290682841897013 0 0 0 0 1
    particle soul_fire_flame ~-3.260172925895453 ~0 ~-2.3856476707577703 0 0 0 0 1
    particle soul_fire_flame ~-3.2603135902047162 ~0 ~-2.639375540971755 0 0 0 0 1
    particle soul_fire_flame ~-3.2205338618874553 ~0 ~-2.8898983589172356 0 0 0 0 1
    particle soul_fire_flame ~-3.14 ~0 ~-3.14 0 0 0 0 1
    particle soul_fire_flame ~-2.876269765663147 ~0 ~-3.219927455502749 0 0 0 0 1
    particle soul_fire_flame ~-2.6171196415662767 ~0 ~-3.259868314048649 0 0 0 0 1
    particle soul_fire_flame ~-2.36279504210949 ~0 ~-3.259771921169759 0 0 0 0 1
    particle soul_fire_flame ~-2.1138150688171384 ~0 ~-3.219753192043306 0 0 0 0 1
    particle soul_fire_flame ~-1.87 ~0 ~-3.14 0 0 0 0 1
    particle soul_fire_flame ~1.81 ~0 ~-3.14 0 0 0 0 1
    particle soul_fire_flame ~2.0697108004927633 ~0 ~-3.2199829182595012 0 0 0 0 1
    particle soul_fire_flame ~2.326517766582966 ~0 ~-3.2599260172411806 0 0 0 0 1
    particle soul_fire_flame ~2.581250030064583 ~0 ~-3.2598769525229936 0 0 0 0 1
    particle soul_fire_flame ~2.8323392102718357 ~0 ~-3.2197548878788953 0 0 0 0 1
    particle soul_fire_flame ~3.08 ~0 ~-3.14 0 0 0 0 1
    particle soul_fire_flame ~3.1600618544667953 ~0 ~-2.8756735136747364 0 0 0 0 1
    particle soul_fire_flame ~3.2001065193399776 ~0 ~-2.6163335930109026 0 0 0 0 1
    particle soul_fire_flame ~3.2000905678153027 ~0 ~-2.3622370422482493 0 0 0 0 1
    particle soul_fire_flame ~3.1601518999576554 ~0 ~-2.113969104909897 0 0 0 0 1
    particle soul_fire_flame ~3.08 ~0 ~-1.87 0 0 0 0 1
    particle soul_fire_flame ~3.08 ~0 ~1.81 0 0 0 0 1
    particle soul_fire_flame ~3.1600369954109193 ~0 ~2.0701240504264833 0 0 0 0 1
    particle soul_fire_flame ~3.2000484155505897 ~0 ~2.3273438186407094 0 0 0 0 1
    particle soul_fire_flame ~3.200023658609391 ~0 ~2.581304324746132 0 0 0 0 1
    particle soul_fire_flame ~3.1602100652515897 ~0 ~2.831245350050926 0 0 0 0 1
    particle soul_fire_flame ~3.08 ~0 ~3.08 0 0 0 0 1
    particle soul_fire_flame ~2.8163187574505804 ~0 ~3.1601175581634044 0 0 0 0 1
    particle soul_fire_flame ~2.557611285424232 ~0 ~3.200282259497046 0 0 0 0 1
    particle soul_fire_flame ~2.3035351904273025 ~0 ~3.2003832898706195 0 0 0 0 1
    particle soul_fire_flame ~2.0560529375791536 ~0 ~3.1607610008299347 0 0 0 0 1
    particle soul_fire_flame ~1.81 ~0 ~3.08 0 0 0 0 1
    particle soul_fire_flame ~-2.01 ~0 ~1.95 0 0 0 0 1
    particle soul_fire_flame ~-2.072537199532986 ~0 ~2.135122281002998 0 0 0 0 1
    particle soul_fire_flame ~-2.135074399065972 ~0 ~2.320244562005996 0 0 0 0 1
    particle soul_fire_flame ~-2.197611598598958 ~0 ~2.505366843008994 0 0 0 0 1
    particle soul_fire_flame ~-2.26 ~0 ~2.69 0 0 0 0 1
    particle soul_fire_flame ~-2.444547860360146 ~0 ~2.752362860620022 0 0 0 0 1
    particle soul_fire_flame ~-2.6290957207202914 ~0 ~2.8147257212400443 0 0 0 0 1
    particle soul_fire_flame ~-2.813643581080437 ~0 ~2.8770885818600664 0 0 0 0 1
    particle soul_fire_flame ~-3 ~0 ~2.94 0 0 0 0 1
    particle soul_fire_flame ~-2.9375268098831175 ~0 ~2.755073191261291 0 0 0 0 1
    particle soul_fire_flame ~-2.875053619766235 ~0 ~2.5701463825225823 0 0 0 0 1
    particle soul_fire_flame ~-2.8125804296493526 ~0 ~2.3852195737838735 0 0 0 0 1
    particle soul_fire_flame ~-2.75 ~0 ~2.2 0 0 0 0 1
    particle soul_fire_flame ~-2.565262665450573 ~0 ~2.137590819299221 0 0 0 0 1
    particle soul_fire_flame ~-2.380525330901146 ~0 ~2.0751816385984414 0 0 0 0 1
    particle soul_fire_flame ~-2.195787996351719 ~0 ~2.012772457897662 0 0 0 0 1
    particle soul_fire_flame ~-2.01 ~0 ~-2.01 0 0 0 0 1
    particle soul_fire_flame ~-2.194553840017319 ~0 ~-2.072345171284676 0 0 0 0 1
    particle soul_fire_flame ~-2.3791076800346374 ~0 ~-2.134690342569352 0 0 0 0 1
    particle soul_fire_flame ~-2.563661520051956 ~0 ~-2.197035513854028 0 0 0 0 1
    particle soul_fire_flame ~-2.75 ~0 ~-2.26 0 0 0 0 1
    particle soul_fire_flame ~-2.812362860620022 ~0 ~-2.444547860360146 0 0 0 0 1
    particle soul_fire_flame ~-2.8747257212400443 ~0 ~-2.6290957207202914 0 0 0 0 1
    particle soul_fire_flame ~-2.9370885818600665 ~0 ~-2.813643581080437 0 0 0 0 1
    particle soul_fire_flame ~-3 ~0 ~-3 0 0 0 0 1
    particle soul_fire_flame ~-2.8152566796541216 ~0 ~-2.9375908192992206 0 0 0 0 1
    particle soul_fire_flame ~-2.6305133593082433 ~0 ~-2.8751816385984412 0 0 0 0 1
    particle soul_fire_flame ~-2.445770038962365 ~0 ~-2.812772457897662 0 0 0 0 1
    particle soul_fire_flame ~-2.26 ~0 ~-2.75 0 0 0 0 1
    particle soul_fire_flame ~-2.1975731118023396 ~0 ~-2.565262665450573 0 0 0 0 1
    particle soul_fire_flame ~-2.135146223604679 ~0 ~-2.380525330901146 0 0 0 0 1
    particle soul_fire_flame ~-2.0727193354070184 ~0 ~-2.195787996351719 0 0 0 0 1
    particle soul_fire_flame ~1.95 ~0 ~-2.01 0 0 0 0 1
    particle soul_fire_flame ~2.0123451712846756 ~0 ~-2.194547860360146 0 0 0 0 1
    particle soul_fire_flame ~2.0746903425693515 ~0 ~-2.3790957207202914 0 0 0 0 1
    particle soul_fire_flame ~2.1370355138540273 ~0 ~-2.563643581080437 0 0 0 0 1
    particle soul_fire_flame ~2.2 ~0 ~-2.75 0 0 0 0 1
    particle soul_fire_flame ~2.3851162829279904 ~0 ~-2.812537199532986 0 0 0 0 1
    particle soul_fire_flame ~2.5702325658559806 ~0 ~-2.875074399065972 0 0 0 0 1
    particle soul_fire_flame ~2.755348848783971 ~0 ~-2.937611598598958 0 0 0 0 1
    particle soul_fire_flame ~2.94 ~0 ~-3 0 0 0 0 1
    particle soul_fire_flame ~2.8775908192992206 ~0 ~-2.8152566796541216 0 0 0 0 1
    particle soul_fire_flame ~2.815181638598441 ~0 ~-2.6305133593082433 0 0 0 0 1
    particle soul_fire_flame ~2.752772457897662 ~0 ~-2.445770038962365 0 0 0 0 1
    particle soul_fire_flame ~2.69 ~0 ~-2.26 0 0 0 0 1
    particle soul_fire_flame ~2.505073191261291 ~0 ~-2.197509084224701 0 0 0 0 1
    particle soul_fire_flame ~2.3201463825225823 ~0 ~-2.135018168449402 0 0 0 0 1
    particle soul_fire_flame ~2.1352195737838735 ~0 ~-2.072527252674103 0 0 0 0 1
    particle soul_fire_flame ~1.95 ~0 ~1.95 0 0 0 0 1
    particle soul_fire_flame ~2.135122281002998 ~0 ~2.0125371995329857 0 0 0 0 1
    particle soul_fire_flame ~2.320244562005996 ~0 ~2.0750743990659717 0 0 0 0 1
    particle soul_fire_flame ~2.505366843008994 ~0 ~2.1376115985989577 0 0 0 0 1
    particle soul_fire_flame ~2.69 ~0 ~2.2 0 0 0 0 1
    particle soul_fire_flame ~2.7525549433529375 ~0 ~2.3851162829279904 0 0 0 0 1
    particle soul_fire_flame ~2.815109886705875 ~0 ~2.5702325658559806 0 0 0 0 1
    particle soul_fire_flame ~2.8776648300588126 ~0 ~2.755348848783971 0 0 0 0 1
    particle soul_fire_flame ~2.94 ~0 ~2.94 0 0 0 0 1
    particle soul_fire_flame ~2.7550671993255618 ~0 ~2.8775268098831175 0 0 0 0 1
    particle soul_fire_flame ~2.5701343986511236 ~0 ~2.815053619766235 0 0 0 0 1
    particle soul_fire_flame ~2.3852015979766854 ~0 ~2.7525804296493526 0 0 0 0 1
    particle soul_fire_flame ~2.2 ~0 ~2.69 0 0 0 0 1
    particle soul_fire_flame ~2.137509084224701 ~0 ~2.505073191261291 0 0 0 0 1
    particle soul_fire_flame ~2.075018168449402 ~0 ~2.3201463825225823 0 0 0 0 1
    particle soul_fire_flame ~2.012527252674103 ~0 ~2.1352195737838735 0 0 0 0 1
    particle soul_fire_flame ~0 ~0 ~3.25 0 0 0 0 1
    particle soul_fire_flame ~0.11257563042640686 ~0 ~3.4376170781612396 0 0 0 0 1
    particle soul_fire_flame ~0.22515126085281373 ~0 ~3.6252341563224793 0 0 0 0 1
    particle soul_fire_flame ~0.33772689127922056 ~0 ~3.812851234483719 0 0 0 0 1
    particle soul_fire_flame ~0.45 ~0 ~4 0 0 0 0 1
    particle soul_fire_flame ~0.3374423537969589 ~0 ~4.18762786347866 0 0 0 0 1
    particle soul_fire_flame ~0.22488470759391782 ~0 ~4.37525572695732 0 0 0 0 1
    particle soul_fire_flame ~0.11232706139087674 ~0 ~4.56288359043598 0 0 0 0 1
    particle soul_fire_flame ~0 ~0 ~4.75 0 0 0 0 1
    particle soul_fire_flame ~-0.11247272765636444 ~0 ~4.562554418253899 0 0 0 0 1
    particle soul_fire_flame ~-0.22494545531272886 ~0 ~4.375108836507797 0 0 0 0 1
    particle soul_fire_flame ~-0.3374181829690933 ~0 ~4.187663254761696 0 0 0 0 1
    particle soul_fire_flame ~-0.45 ~0 ~4 0 0 0 0 1
    particle soul_fire_flame ~-0.33754524012804027 ~0 ~3.8125544182538986 0 0 0 0 1
    particle soul_fire_flame ~-0.22509048025608058 ~0 ~3.6251088365077972 0 0 0 0 1
    particle soul_fire_flame ~-0.11263572038412088 ~0 ~3.437663254761696 0 0 0 0 1
    particle soul_fire_flame ~-3.25 ~0 ~0 0 0 0 0 1
    particle soul_fire_flame ~-3.4374455817461014 ~0 ~0.11247272765636444 0 0 0 0 1
    particle soul_fire_flame ~-3.6248911634922028 ~0 ~0.22494545531272886 0 0 0 0 1
    particle soul_fire_flame ~-3.812336745238304 ~0 ~0.3374181829690933 0 0 0 0 1
    particle soul_fire_flame ~-4 ~0 ~0.45 0 0 0 0 1
    particle soul_fire_flame ~-4.187456357204914 ~0 ~0.33754524012804027 0 0 0 0 1
    particle soul_fire_flame ~-4.374912714409827 ~0 ~0.22509048025608058 0 0 0 0 1
    particle soul_fire_flame ~-4.562369071614741 ~0 ~0.11263572038412088 0 0 0 0 1
    particle soul_fire_flame ~-4.75 ~0 ~0 0 0 0 0 1
    particle soul_fire_flame ~-4.56238292183876 ~0 ~-0.11255764620304108 0 0 0 0 1
    particle soul_fire_flame ~-4.374765843677521 ~0 ~-0.2251152924060822 0 0 0 0 1
    particle soul_fire_flame ~-4.187148765516281 ~0 ~-0.3376729386091233 0 0 0 0 1
    particle soul_fire_flame ~-4 ~0 ~-0.45 0 0 0 0 1
    particle soul_fire_flame ~-3.8123721365213394 ~0 ~-0.3374423537969589 0 0 0 0 1
    particle soul_fire_flame ~-3.624744273042679 ~0 ~-0.22488470759391782 0 0 0 0 1
    particle soul_fire_flame ~-3.4371164095640183 ~0 ~-0.11232706139087674 0 0 0 0 1
    particle soul_fire_flame ~0 ~0 ~-3.25 0 0 0 0 1
    particle soul_fire_flame ~-0.11247272765636444 ~0 ~-3.4374455817461014 0 0 0 0 1
    particle soul_fire_flame ~-0.22494545531272886 ~0 ~-3.6248911634922028 0 0 0 0 1
    particle soul_fire_flame ~-0.3374181829690933 ~0 ~-3.812336745238304 0 0 0 0 1
    particle soul_fire_flame ~-0.45 ~0 ~-4 0 0 0 0 1
    particle soul_fire_flame ~-0.33754524012804027 ~0 ~-4.187445581746101 0 0 0 0 1
    particle soul_fire_flame ~-0.22509048025608058 ~0 ~-4.374891163492203 0 0 0 0 1
    particle soul_fire_flame ~-0.11263572038412088 ~0 ~-4.562336745238304 0 0 0 0 1
    particle soul_fire_flame ~0 ~0 ~-4.75 0 0 0 0 1
    particle soul_fire_flame ~0.11257563042640686 ~0 ~-4.56238292183876 0 0 0 0 1
    particle soul_fire_flame ~0.22515126085281373 ~0 ~-4.374765843677521 0 0 0 0 1
    particle soul_fire_flame ~0.33772689127922056 ~0 ~-4.187148765516281 0 0 0 0 1
    particle soul_fire_flame ~0.45 ~0 ~-4 0 0 0 0 1
    particle soul_fire_flame ~0.3374423537969589 ~0 ~-3.8123721365213394 0 0 0 0 1
    particle soul_fire_flame ~0.22488470759391782 ~0 ~-3.624744273042679 0 0 0 0 1
    particle soul_fire_flame ~0.11232706139087674 ~0 ~-3.4371164095640183 0 0 0 0 1
    particle soul_fire_flame ~3.25 ~0 ~0 0 0 0 0 1
    particle soul_fire_flame ~3.43506489456892 ~0 ~-0.11252800287008287 0 0 0 0 1
    particle soul_fire_flame ~3.62012978913784 ~0 ~-0.22505600574016574 0 0 0 0 1
    particle soul_fire_flame ~3.80519468370676 ~0 ~-0.33758400861024856 0 0 0 0 1
    particle soul_fire_flame ~3.99 ~0 ~-0.45 0 0 0 0 1
    particle soul_fire_flame ~4.180056241679192 ~0 ~-0.33998735318183904 0 0 0 0 1
    particle soul_fire_flame ~4.370112483358383 ~0 ~-0.229974706363678 0 0 0 0 1
    particle soul_fire_flame ~4.560168725037575 ~0 ~-0.11996205954551699 0 0 0 0 1
    particle soul_fire_flame ~4.75 ~0 ~-0.01 0 0 0 0 1
    particle soul_fire_flame ~4.562640356552601 ~0 ~0.1049278226017952 0 0 0 0 1
    particle soul_fire_flame ~4.375280713105202 ~0 ~0.2198556452035904 0 0 0 0 1
    particle soul_fire_flame ~4.187921069657802 ~0 ~0.33478346780538565 0 0 0 0 1
    particle soul_fire_flame ~4 ~0 ~0.45 0 0 0 0 1
    particle soul_fire_flame ~3.812543642795086 ~0 ~0.33754524012804027 0 0 0 0 1
    particle soul_fire_flame ~3.6250872855901717 ~0 ~0.22509048025608058 0 0 0 0 1
    particle soul_fire_flame ~3.4376309283852575 ~0 ~0.11263572038412088 0 0 0 0 1
    particle soul_fire_flame ~0 ~0 ~1.88 0 0 0 0 1
    particle soul_fire_flame ~0.13511133706569672 ~0 ~2.1051747930765154 0 0 0 0 1
    particle soul_fire_flame ~0.27022267413139345 ~0 ~2.330349586153031 0 0 0 0 1
    particle soul_fire_flame ~0.40533401119709017 ~0 ~2.5555243792295466 0 0 0 0 1
    particle soul_fire_flame ~0.54 ~0 ~2.78 0 0 0 0 1
    particle soul_fire_flame ~0.4049102472901345 ~0 ~3.005187737429142 0 0 0 0 1
    particle soul_fire_flame ~0.2698204945802689 ~0 ~3.230375474858284 0 0 0 0 1
    particle soul_fire_flame ~0 ~0 ~3.68 0 0 0 0 1
    particle soul_fire_flame ~-0.26981106305122377 ~0 ~3.230336399507522 0 0 0 0 1
    particle soul_fire_flame ~-0.4047165945768356 ~0 ~3.005504599261283 0 0 0 0 1
    particle soul_fire_flame ~-0.54 ~0 ~2.78 0 0 0 0 1
    particle soul_fire_flame ~-0.40511601995229723 ~0 ~2.555168199753761 0 0 0 0 1
    particle soul_fire_flame ~-0.27023203990459443 ~0 ~2.330336399507522 0 0 0 0 1
    particle soul_fire_flame ~-0.13534805985689166 ~0 ~2.105504599261283 0 0 0 0 1
    particle soul_fire_flame ~-1.88 ~0 ~0 0 0 0 0 1
    particle soul_fire_flame ~-2.104831800246239 ~0 ~0.13490553152561188 0 0 0 0 1
    particle soul_fire_flame ~-2.329663600492478 ~0 ~0.26981106305122377 0 0 0 0 1
    particle soul_fire_flame ~-2.554495400738717 ~0 ~0.4047165945768356 0 0 0 0 1
    particle soul_fire_flame ~-2.78 ~0 ~0.54 0 0 0 0 1
    particle soul_fire_flame ~-3.004673218607903 ~0 ~0.40521890628337864 0 0 0 0 1
    particle soul_fire_flame ~-3.2293464372158054 ~0 ~0.27043781256675725 0 0 0 0 1
    particle soul_fire_flame ~-3.68 ~0 ~0 0 0 0 0 1
    particle soul_fire_flame ~-3.230336399507522 ~0 ~-0.2697679600954056 0 0 0 0 1
    particle soul_fire_flame ~-3.005504599261283 ~0 ~-0.4046519401431084 0 0 0 0 1
    particle soul_fire_flame ~-2.78 ~0 ~-0.54 0 0 0 0 1
    particle soul_fire_flame ~-2.5548122625708585 ~0 ~-0.4049102472901345 0 0 0 0 1
    particle soul_fire_flame ~-2.3296245251417167 ~0 ~-0.2698204945802689 0 0 0 0 1
    particle soul_fire_flame ~-2.104436787712575 ~0 ~-0.13473074187040335 0 0 0 0 1
    particle soul_fire_flame ~0 ~0 ~-1.88 0 0 0 0 1
    particle soul_fire_flame ~-0.13490553152561188 ~0 ~-2.104831800246239 0 0 0 0 1
    particle soul_fire_flame ~-0.26981106305122377 ~0 ~-2.329663600492478 0 0 0 0 1
    particle soul_fire_flame ~-0.4047165945768356 ~0 ~-2.554495400738717 0 0 0 0 1
    particle soul_fire_flame ~-0.54 ~0 ~-2.78 0 0 0 0 1
    particle soul_fire_flame ~-0.40521890628337864 ~0 ~-3.004660303831101 0 0 0 0 1
    particle soul_fire_flame ~-0.27043781256675725 ~0 ~-3.229320607662202 0 0 0 0 1
    particle soul_fire_flame ~0 ~0 ~-3.68 0 0 0 0 1
    particle soul_fire_flame ~0.26981106305122377 ~0 ~-3.230336399507522 0 0 0 0 1
    particle soul_fire_flame ~0.4047165945768356 ~0 ~-3.005504599261283 0 0 0 0 1
    particle soul_fire_flame ~0.54 ~0 ~-2.78 0 0 0 0 1
    particle soul_fire_flame ~0.4049102472901345 ~0 ~-2.5548122625708585 0 0 0 0 1
    particle soul_fire_flame ~0.2698204945802689 ~0 ~-2.3296245251417167 0 0 0 0 1
    particle soul_fire_flame ~0.13473074187040335 ~0 ~-2.104436787712575 0 0 0 0 1
    particle soul_fire_flame ~1.88 ~0 ~0 0 0 0 0 1
    particle soul_fire_flame ~2.1027885871410374 ~0 ~-0.1351733296751976 0 0 0 0 1
    particle soul_fire_flame ~2.3255771742820746 ~0 ~-0.27034665935039526 0 0 0 0 1
    particle soul_fire_flame ~2.5483657614231117 ~0 ~-0.4055199890255929 0 0 0 0 1
    particle soul_fire_flame ~2.77 ~0 ~-0.54 0 0 0 0 1
    particle soul_fire_flame ~2.997621298623085 ~0 ~-0.4074552688479424 0 0 0 0 1
    particle soul_fire_flame ~3.22524259724617 ~0 ~-0.2749105376958848 0 0 0 0 1
    particle soul_fire_flame ~3.68 ~0 ~-0.01 0 0 0 0 1
    particle soul_fire_flame ~3.230502233982086 ~0 ~0.26471806294918065 0 0 0 0 1
    particle soul_fire_flame ~3.005753350973129 ~0 ~0.402077094423771 0 0 0 0 1
    particle soul_fire_flame ~2.78 ~0 ~0.54 0 0 0 0 1
    particle soul_fire_flame ~2.5551552751183513 ~0 ~0.40511601995229723 0 0 0 0 1
    particle soul_fire_flame ~2.3303105502367023 ~0 ~0.27023203990459443 0 0 0 0 1
    particle soul_fire_flame ~2.1054658253550533 ~0 ~0.13534805985689166 0 0 0 0 1
    particle soul_fire_flame ~0.6688680052757263 ~0 ~2.5653374600410466 0 0 0 0 1
    particle soul_fire_flame ~-0.6688680052757263 ~0 ~2.56527330160141 0 0 0 0 1
    particle soul_fire_flame ~-2.56527330160141 ~0 ~0.6688680052757263 0 0 0 0 1
    particle soul_fire_flame ~-2.56527330160141 ~0 ~-0.6687611520290375 0 0 0 0 1
    particle soul_fire_flame ~-0.6688680052757263 ~0 ~-2.56527330160141 0 0 0 0 1
    particle soul_fire_flame ~0.6689748585224152 ~0 ~-2.5653374600410466 0 0 0 0 1
    particle soul_fire_flame ~2.5566470909118655 ~0 ~-0.664276841878891 0 0 0 0 1
    particle soul_fire_flame ~2.5707610177993776 ~0 ~0.6679299199581147 0 0 0 0 1
    particle soul_fire_flame ~-0.25 ~0 ~0.24 0 0 0 0 1
    particle soul_fire_flame ~-0.25 ~0 ~0.0766 0 0 0 0 1
    particle soul_fire_flame ~-0.25 ~0 ~-0.0868 0 0 0 0 1
    particle soul_fire_flame ~-0.25 ~0 ~-0.25 0 0 0 0 1
    particle soul_fire_flame ~-0.0866 ~0 ~-0.25 0 0 0 0 1
    particle soul_fire_flame ~0.0768 ~0 ~-0.25 0 0 0 0 1
    particle soul_fire_flame ~0.24 ~0 ~-0.25 0 0 0 0 1
    particle soul_fire_flame ~0.2400156657792322 ~0 ~-0.0866 0 0 0 0 1
    particle soul_fire_flame ~0.2400313315584644 ~0 ~0.0768 0 0 0 0 1
    particle soul_fire_flame ~0.24 ~0 ~0.24 0 0 0 0 1
    particle soul_fire_flame ~0.0766 ~0 ~0.2400156657792322 0 0 0 0 1
    particle soul_fire_flame ~-0.0868 ~0 ~0.2400313315584644 0 0 0 0 1


text:
#> asset:artifact/0368.fire_spell/register
#
# 神器プールへの登録処理
#
# @within tag/function asset:artifact/register

data modify storage asset:artifact RarityRegistry[1] append value 368

repo_name: ProjectTSB/TheSkyBlessing

repo_language: mcfunction

mime_type: text/plain


text:
#> asset:artifact/0368.fire_spell/give/1.trigger
#
# 神器の取得処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:artifact/give

execute if data storage asset:context {id:368} run function asset:artifact/0368.fire_spell/give/2.give


text:
#> asset:artifact/0368.fire_spell/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0368.fire_spell/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 368
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:carrot_on_a_stick"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '{"text":"ファイアスペル","color":"red"}'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['{"text":"火の術式を宿した杖。"}','{"text":"敵に魔法火属性ダメージを与える"}']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    # data modify storage asset:artifact RemainingCount set value
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "auto"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "onClick"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.Damage set value [15]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.AttackType set value [Magic]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.ElementType set value [Fire]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.IsRangeAttack set value "never"
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.AttackRange set value 5
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 4
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    data modify storage asset:artifact LocalCooldown set value 6
# グローバルクールダウン (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
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Flora", "Urban", "Nyaptov", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    # data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0368.fire_spell/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0368.fire_spell/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く
    function asset:artifact/common/check_condition/auto
# 他にアイテム等確認する場合はここに書く

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0368.fire_spell/trigger/3.main


text:
#> asset:artifact/0368.fire_spell/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0368.fire_spell/trigger/2.check_condition

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う
    function asset:artifact/common/use/auto

# ここから先は神器側の効果の処理を書く

# 敵が居ない場合
    execute positioned ^ ^ ^5 unless entity @e[type=#lib:living,type=!player,tag=Enemy,tag=!Uninterferable,distance=..5] run function asset:artifact/0368.fire_spell/trigger/4.attack

# 前方に敵が居た場合
    execute positioned ^ ^ ^5 if entity @e[type=#lib:living,type=!player,tag=Enemy,tag=!Uninterferable,distance=..5] at @e[type=#lib:living,type=!player,tag=Enemy,tag=!Uninterferable,distance=..5,sort=nearest,limit=1] run function asset:artifact/0368.fire_spell/trigger/4.attack


text:
#> asset:artifact/0368.fire_spell/trigger/4.attack
#
# 魔法攻撃を行う
#
# @within function asset:artifact/0368.fire_spell/trigger/3.main

# 演出
    particle flame ~ ~1.2 ~ 0.3 0.3 0.3 0.05 30 normal @a
    playsound entity.blaze.shoot player @a ~ ~ ~ 1 1.2 0
    playsound entity.blaze.hurt player @a ~ ~ ~ 0.8 1.5 0

# ダメージ
    data modify storage lib: Argument.Damage set value 15f
    data modify storage lib: Argument.AttackType set value "Magic"
    data modify storage lib: Argument.ElementType set value "Fire"
# 補正functionを実行
    function lib:damage/modifier
# 攻撃した対象に実行
    execute as @e[type=#lib:living,type=!player,tag=!Uninterferable,distance=..1,sort=nearest,limit=1] run function lib:damage/
# リセット
    function lib:damage/reset


text:
#> asset:artifact/0368.fire_spell/trigger/1.trigger
#
# 指定したイベントタイミングで実行されるfunction
#
# @within tag/function asset:artifact/**

# storage asset:idのautoに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する
    execute if data storage asset:context id{auto:368} run function asset:artifact/0368.fire_spell/trigger/2.check_condition


text:
#> asset:artifact/0454.kinoko/register
#
# 神器プールへの登録処理
#
# @within tag/function asset:artifact/register

data modify storage asset:artifact RarityRegistry[1] append value 454


text:
#> asset:artifact/0454.kinoko/give/1.trigger
#
# 神器の取得処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:artifact/give

execute if data storage asset:context {id:454} run function asset:artifact/0454.kinoko/give/2.give


text:
#> asset:artifact/0454.kinoko/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0454.kinoko/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 454
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:cooked_beef"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '[{"text":"kinoko","color":"yellow","obfuscated":true,"bold":true},{"text":" きのこの山 ","color":"gold","obfuscated":false},{"text":"umauma","color":"yellow","obfuscated":true}]'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['[{"text":"持ちやすい。しかもうまい！"}]']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    data modify storage asset:artifact RemainingCount set value 10
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "auto"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "itemUse"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.Damage set value [0,0]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackType set value [Physical,Magic]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.ElementType set value [Fire,Water,Thunder,None]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.IsRangeAttack set value
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackRange set value
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 20
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    # data modify storage asset:artifact LocalCooldown set value
# グローバルクールダウン (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
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Nyaptov", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    data modify storage asset:artifact CustomNBT set value {HideFlags:63,Enchantments:[{id:unbreaking,lvl:1s}]}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0454.kinoko/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0454.kinoko/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く auto/feet/legs/chest/head/mainhand/offhandを記載してね
    function asset:artifact/common/check_condition/auto
# 他にアイテム等確認する場合はここに書く

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0454.kinoko/trigger/3.main


text:
#> asset:artifact/0454.kinoko/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0454.kinoko/trigger/2.check_condition

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う auto/feet/legs/chest/head/mainhand/offhandを記載してね
    function asset:artifact/common/use/auto

# ここから先は神器側の効果の処理を書く
    # 演出
        stopsound @s * entity.item.break
        tellraw @s [{"text": "<"},{"selector":"@s"},{"text": "> き の こ 万 歳 ！"}]
    # 処理
        execute store result storage lib: Argument.Heal double 0.01 run attribute @s generic.max_health get 50
        function lib:heal/modifier
        function lib:heal/
        function lib:heal/reset


text:
#> asset:artifact/0454.kinoko/trigger/1.trigger
#
# 指定したイベントタイミングで実行されるfunction
#
# @within tag/function asset:artifact/**

# storage asset:idのauto/feet/legs/chest/head/mainhand/offhandに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する
    execute if data storage asset:context id{auto:454} run function asset:artifact/0454.kinoko/trigger/2.check_condition


text:
#> asset:mob/0264.dark_summoner/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0264.dark_summoner/**
    scoreboard objectives add 7C.Attack dummy


text:
#> asset:mob/0264.dark_summoner/_index.d
# @private

#> tag
# @within function asset:mob/0264.dark_summoner/**
    #declare tag 7C.CastStart


text:
#> asset:mob/0264.dark_summoner/death/2.death
#
# Mobの死亡時の処理
#
# @within function asset:mob/0264.dark_summoner/death/1.trigger

# 音
    playsound minecraft:entity.vex.ambient hostile @a ~ ~ ~ 1 0.7
    playsound minecraft:entity.enderman.ambient hostile @a ~ ~ ~ 1 0.5
    playsound minecraft:entity.phantom.death hostile @a ~ ~ ~ 1 0.7

# 付近のファミリアを消す
    execute as @e[type=husk,scores={MobID=265},distance=..10,limit=6] at @s run function asset:mob/0265.dark_familiar/tick/event/suicide


text:
#> asset:mob/0264.dark_summoner/death/1.trigger
#
# Mobの死亡時に実行されるfunction
#
# @within tag/function asset:mob/death

execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/death/2.death


text:
#> asset:mob/0264.dark_summoner/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0264.dark_summoner/summon/1.trigger

# 元となるMobを召喚する
    summon zombie ~ ~ ~ {Tags:["MobInit","AlwaysInvisible","AlwaysSlowFall"],DeathLootTable:"asset:mob/death/0264.dark_summoner",Silent:1b}
# ID (int)
    data modify storage asset:mob ID set value 264
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"ダークサモナー","color":"#B638FF","italic":false}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        #data modify storage asset:mob Weapon.Mainhand set value {id:"minecraft:stick",Count:1b,tag:{CustomModelData:20179}}
# 武器ドロップ率 ([float, float]) (オプション)
    data modify storage asset:mob WeaponDropChances set value [0.0f,0.0f]
# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"minecraft:stick",Count:1b,tag:{CustomModelData:20214}}
    # 胴 (Compound(Item)) (オプション)
        #data modify storage asset:mob Armor.Chest set value {id:"minecraft:leather_chestplate",Count:1b,tag:{display:{color:4404559}}}
# 防具ドロップ率 ([float, float]) (オプション)
    #data modify storage asset:mob ArmorDropChances set value [0.0f,0.0f,0.0f,0.0f]
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 2500
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value 0
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    # data modify storage asset:mob Defense set value
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    # data modify storage asset:mob Speed set value
# 索敵範囲 (double) (オプション)
    # data modify storage asset:mob FollowRange set value
# ノックバック耐性 (double) (オプション)
    # data modify storage asset:mob KnockBackResist set value
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Physical set value
    # 魔法倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Magic set value
    # 火倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Fire set value
    # 水倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Water set value
    # 雷倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Thunder set value

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=zombie,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0264.dark_summoner/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/summon/2.summon


text:
#> asset:mob/0264.dark_summoner/hurt/2.hurt
#
# Mobの被ダメージ時の処理
#
# @within function asset:mob/0264.dark_summoner/hurt/1.trigger

# サウンド
    playsound minecraft:entity.donkey.hurt hostile @a ~ ~ ~ 1 0
    playsound minecraft:entity.player.breath hostile @a ~ ~ ~ 1 1.2
    playsound minecraft:entity.enderman.hurt hostile @a ~ ~ ~ 1 0.5


text:
#> asset:mob/0264.dark_summoner/hurt/1.trigger
#
# Mobの被ダメージに実行されるfunction
#
# @within tag/function asset:mob/hurt

execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/hurt/2.hurt


text:
#> asset:mob/0264.dark_summoner/tick/2.tick
#
# Mobのtick時の処理
#
# @within function asset:mob/0264.dark_summoner/tick/1.trigger

# パーティクル
    particle minecraft:falling_dust black_concrete ~ ~0.5 ~ 0.1 0 0.1 0 1

# 付近にプレイヤーがいるならスコア加算 Predicateなどが完成したらそれに移行したい
    execute if entity @s[tag=!7C.CastStart] positioned ^ ^ ^10 if entity @p[distance=..10] at @s run function asset:mob/0264.dark_summoner/tick/event/cast_start

# 一度詠唱動作に入ると離れても唱える
    execute if entity @s[tag=7C.CastStart] run function asset:mob/0264.dark_summoner/tick/event/casting

# 攻撃キャンセル
    execute unless entity @p[distance=..30] run function asset:mob/0264.dark_summoner/tick/event/cast_finish

# 首固定
    data modify entity @s Rotation[1] set value 0.0f


text:
#> asset:mob/0264.dark_summoner/tick/1.trigger
#
# Mobが生きている間毎tick実行されるfunction
#
# @within tag/function asset:mob/tick

execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/tick/2.tick


text:
#> asset:mob/0264.dark_summoner/tick/event/casting
#
#
#
# @within function asset:mob/0264.dark_summoner/tick/2.tick

# 詠唱
    scoreboard players add @s 7C.Attack 1
    effect give @s slowness 1 10 true

# SFX
    particle minecraft:witch ~ ~1 ~ 0.2 0.5 0.2 0 1
    execute if score @s 7C.Attack matches 40 run playsound minecraft:block.beacon.ambient hostile @a ~ ~ ~ 4 2
    execute if score @s 7C.Attack matches 40..100 run particle minecraft:dust 0.545 0.11 0.655 2 ~ ~0.5 ~ 0.2 0.5 0.2 0 1
    execute if score @s 7C.Attack matches 100.. run particle minecraft:dust 0.545 0.5 0.655 2 ~ ~0.5 ~ 0.2 0.5 0.2 0 1

# 実行
    execute if score @s 7C.Attack matches 80 rotated ~ 0 positioned ^2 ^ ^ if block ~ ~ ~ #lib:no_collision run function asset:mob/0264.dark_summoner/tick/event/summon_minions
    execute if score @s 7C.Attack matches 90 rotated ~ 0 positioned ^-2 ^ ^ if block ~ ~ ~ #lib:no_collision run function asset:mob/0264.dark_summoner/tick/event/summon_minions
    execute if score @s 7C.Attack matches 85 rotated ~ 0 positioned ^ ^ ^-2 if block ~ ~ ~ #lib:no_collision run function asset:mob/0264.dark_summoner/tick/event/summon_minions

# ポーズ変更
    item replace entity @s[scores={7C.Attack=120}] armor.head with stick{CustomModelData:20214}

# 終了
    execute if score @s 7C.Attack matches 180.. run function asset:mob/0264.dark_summoner/tick/event/cast_finish


text:
#> asset:mob/0264.dark_summoner/tick/event/cast_start
#
#
#
# @within function asset:mob/0264.dark_summoner/tick/2.tick

# SFX
    playsound minecraft:entity.enderman.ambient hostile @a ~ ~ ~ 1.5 0.7
    playsound minecraft:entity.phantom.ambient hostile @a ~ ~ ~ 1.5 0.5
    playsound minecraft:entity.player.breath hostile @a ~ ~ ~ 1 1.2
    playsound minecraft:block.beacon.ambient hostile @a ~ ~ ~ 4 1.5
    particle minecraft:witch ~ ~1 ~ 0.2 0.5 0.2 1 50

# タグ付与
    tag @s add 7C.CastStart

# ポーズ変更
    item replace entity @s armor.head with stick{CustomModelData:20215}


text:
#> asset:mob/0264.dark_summoner/tick/event/cast_finish
#
#
#
# @within function
#   asset:mob/0264.dark_summoner/tick/event/casting
#   asset:mob/0264.dark_summoner/tick/2.tick

# リセット
    scoreboard players reset @s 7C.Attack
    tag @s remove 7C.CastStart

# ポーズ変更
    item replace entity @s armor.head with stick{CustomModelData:20214}


text:
#> asset:mob/0264.dark_summoner/tick/event/summon_minions
#
#
#
# @within function asset:mob/0264.dark_summoner/tick/event/casting

#

# パーティクル
    execute positioned ^ ^0.1 ^ run function asset:mob/0264.dark_summoner/tick/event/particle

# 召喚
    data modify storage api: Argument.ID set value 265
    function api:mob/summon

# 音とパーティクル
    playsound minecraft:item.bottle.fill_dragonbreath hostile @a ~ ~ ~ 2 2
    playsound minecraft:entity.enderman.ambient hostile @a ~ ~ ~ 2 1.2
    playsound minecraft:entity.ender_eye.death hostile @a ~ ~ ~ 2 2
    playsound minecraft:entity.vex.ambient hostile @a ~ ~ ~ 1 1.75
    playsound minecraft:entity.vex.ambient hostile @a ~ ~ ~ 1 2


text:
#> asset:mob/0264.dark_summoner/tick/event/particle
#
# 召喚スタートのパーティクル
#
# @within function asset:mob/0264.dark_summoner/tick/event/summon_minions

# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkqgOwoBGAjAGwBmAzALSVNylsAsKAVgCGbIXTrsWlFgAYWAJgkpSMlGAIA7IQFsEyQGGKAAjrqwMIRh0BnJOBQB7QhohJZBFHGdwMtsADchbEI9cAAPJBkCKAiAXxiCS1I0QhtEOgIrCAsXREiwOGxsNBgrPToZPIx7LIg9PLQrAFFC4tLGgEdCQOwoAGVzD3JEJkDSuLxwaHgKGHsegHN7DVNiMgpecRkaRRk2eTg4Sj5aAA5Renk2FVJKUhOBE5OZSgBOUy1dCkAsTUAlyMAjfWMpnMlm0qTsjmcSAY7k8tR8iHAASCITA4VyUVi8TAiWSqRkADoThkshgcnkCkUSmUKglqkJahF3PYMBpvEheAQAFaEbQwJDpMA0OAALzQbPRYAazUpbU63T6A24SBG2FKBAaACERWKMB0uoUFUJBsrRnBxpNYHozHMoItlgRVkMwCNnqQGO62Ex5LwGHwXicUGwXnAhLw2CwWKGUHQmMGIwx3jorb8AXQ2A4YNECMDrL4HE4chzULDxYjAsFfGi8tFcuNsUIkikIvii5lsuyBAQKa1qZU6QyJQ4WeKi9zefyCELReL6k0WlS9fL+kalcNTeqrFrp7q5Qbl8a16qzTEALpAA_3
# 円 1
particle minecraft:dust 0.5 0 0.6 1 ^0 ^ ^-1 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.20791 ^ ^-0.97815 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.40674 ^ ^-0.91355 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.58779 ^ ^-0.80902 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.74314 ^ ^-0.66913 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.86603 ^ ^-0.5 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.95106 ^ ^-0.30902 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.99452 ^ ^-0.10453 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.99452 ^ ^0.10453 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.95106 ^ ^0.30902 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.86603 ^ ^0.5 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.74314 ^ ^0.66913 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.58779 ^ ^0.80902 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.40674 ^ ^0.91355 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0.20791 ^ ^0.97815 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^0 ^ ^1 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.20791 ^ ^0.97815 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.40674 ^ ^0.91355 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.58779 ^ ^0.80902 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.74314 ^ ^0.66913 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.86603 ^ ^0.5 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.95106 ^ ^0.30902 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.99452 ^ ^0.10453 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.99452 ^ ^-0.10453 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.95106 ^ ^-0.30902 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.86603 ^ ^-0.5 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.74314 ^ ^-0.66913 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.58779 ^ ^-0.80902 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.40674 ^ ^-0.91355 0 0 0 0 1
particle minecraft:dust 0.5 0 0.6 1 ^-0.20791 ^ ^-0.97815 0 0 0 0 1
# 多角形 1
particle crit ^0 ^ ^-0.8 0 1 0 0.05 0
particle crit ^0.13333 ^ ^-0.66667 0 1 0 0.05 0
particle crit ^0.26667 ^ ^-0.053333 0 1 0 0.05 0
particle crit ^0.4 ^ ^-0.4 0 1 0 0.05 0
particle crit ^0.053333 ^ ^-0.26667 0 1 0 0.05 0
particle crit ^0.66667 ^ ^-0.13333 0 1 0 0.05 0
particle crit ^0.8 ^ ^0 0 1 0 0.05 0
particle crit ^0.66667 ^ ^0.13333 0 1 0 0.05 0
particle crit ^0.053333 ^ ^0.26667 0 1 0 0.05 0
particle crit ^0.4 ^ ^0.4 0 1 0 0.05 0
particle crit ^0.26667 ^ ^0.053333 0 1 0 0.05 0
particle crit ^0.13333 ^ ^0.66667 0 1 0 0.05 0
particle crit ^0 ^ ^0.8 0 1 0 0.05 0
particle crit ^-0.13333 ^ ^0.66667 0 1 0 0.05 0
particle crit ^-0.26667 ^ ^0.053333 0 1 0 0.05 0
particle crit ^-0.4 ^ ^0.4 0 1 0 0.05 0
particle crit ^-0.053333 ^ ^0.26667 0 1 0 0.05 0
particle crit ^-0.66667 ^ ^0.13333 0 1 0 0.05 0
particle crit ^-0.8 ^ ^0 0 1 0 0.05 0
particle crit ^-0.66667 ^ ^-0.13333 0 1 0 0.05 0
particle crit ^-0.053333 ^ ^-0.26667 0 1 0 0.05 0
particle crit ^-0.4 ^ ^-0.4 0 1 0 0.05 0
particle crit ^-0.26667 ^ ^-0.053333 0 1 0 0.05 0
particle crit ^-0.13333 ^ ^-0.66667 0 1 0 0.05 0


text:
#> asset:mob/0187.flame_mage/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0187.flame_mage/**
    scoreboard objectives add 57.Attack dummy


text:
#> asset:mob/0187.flame_mage/death/2.death
#
# Mobの死亡時の処理
#
# @within function asset:mob/0187.flame_mage/death/1.trigger

# サウンド
    playsound minecraft:entity.vex.ambient hostile @a ~ ~ ~ 1 0.5
    playsound minecraft:entity.phantom.hurt hostile @a ~ ~ ~ 1 0


text:
#> asset:mob/0187.flame_mage/death/1.trigger
#
# Mobの死亡時に実行されるfunction
#
# @within tag/function asset:mob/death

execute if data storage asset:context {id:187} run function asset:mob/0187.flame_mage/death/2.death


text:
#> asset:mob/0187.flame_mage/event/shoot_magic
#
#
#
# @within function asset:mob/0187.flame_mage/tick/2.tick

# 撃つ
# パーティクル
    execute facing entity @p[gamemode=!spectator] eyes anchored eyes positioned ^ ^ ^1 rotated ~ ~90 run function asset:mob/0187.flame_mage/event/particle
    data modify storage api: Argument.ID set value 188
    execute anchored eyes positioned ^-0.25 ^ ^ run function api:mob/summon
    execute anchored eyes positioned ^-0.25 ^ ^ run tp @e[type=marker,tag=58.Init,distance=..0.01,sort=nearest,limit=1] ~ ~ ~ facing entity @p[gamemode=!spectator,distance=..20] eyes
    playsound entity.blaze.shoot hostile @a ~ ~ ~ 2 1.5
    playsound minecraft:block.fire.ambient hostile @a ~ ~ ~ 2 1.5
    playsound minecraft:block.fire.ambient hostile @a ~ ~ ~ 2 2
    playsound minecraft:entity.witch.throw hostile @a ~ ~ ~ 2 0.7

# リセット
    scoreboard players reset @s 57.Attack


text:
#> asset:mob/0187.flame_mage/event/particle
#
#
#
# @within function asset:mob/0187.flame_mage/event/shoot_magic
particle flame ^0 ^ ^-1 0 0 0 0 1
particle flame ^0.30902 ^ ^-0.95106 0 0 0 0 1
particle flame ^0.58779 ^ ^-0.80902 0 0 0 0 1
particle flame ^0.80902 ^ ^-0.58779 0 0 0 0 1
particle flame ^0.95106 ^ ^-0.30902 0 0 0 0 1
particle flame ^1 ^ ^0 0 0 0 0 1
particle flame ^0.95106 ^ ^0.30902 0 0 0 0 1
particle flame ^0.80902 ^ ^0.58779 0 0 0 0 1
particle flame ^0.58779 ^ ^0.80902 0 0 0 0 1
particle flame ^0.30902 ^ ^0.95106 0 0 0 0 1
particle flame ^0 ^ ^1 0 0 0 0 1
particle flame ^-0.30902 ^ ^0.95106 0 0 0 0 1
particle flame ^-0.58779 ^ ^0.80902 0 0 0 0 1
particle flame ^-0.80902 ^ ^0.58779 0 0 0 0 1
particle flame ^-0.95106 ^ ^0.30902 0 0 0 0 1
particle flame ^-1 ^ ^0 0 0 0 0 1
particle flame ^-0.95106 ^ ^-0.30902 0 0 0 0 1
particle flame ^-0.80902 ^ ^-0.58779 0 0 0 0 1
particle flame ^-0.58779 ^ ^-0.80902 0 0 0 0 1
particle flame ^-0.30902 ^ ^-0.95106 0 0 0 0 1
particle minecraft:lava ~ ~ ~ 0 0 0 0 5


text:
#> asset:mob/0187.flame_mage/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0187.flame_mage/summon/1.trigger

# 元となるMobを召喚する
    summon zombie ~ ~ ~ {Tags:["MobInit","Enemy","AlwaysInvisible","AlwaysSlowFall"],Silent:1b,DeathLootTable:"asset:mob/death/0187.flame_mage"}
# ID (int)
    data modify storage asset:mob ID set value 187
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"フレイムメイジ","color":"red"}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        data modify storage asset:mob Weapon.Mainhand set value {id:"minecraft:carrot_on_a_stick",Count:1b,tag:{CustomModelData:369}}

# 武器ドロップ率 ([float, float]) (オプション)
    data modify storage asset:mob WeaponDropChances set value [0.0f,0.0f]
# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"minecraft:stick",Count:1b,tag:{CustomModelData:20067}}
    # 胴 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Chest set value {id:"minecraft:leather_chestplate",tag:{Damage:0,display:{color:9452085}},Count:1b}
# 防具ドロップ率 ([float, float]) (オプション)
    data modify storage asset:mob ArmorDropChances set value [0.0f,0.0f,0.0f,0.0f]
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 2900
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value 0d
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    data modify storage asset:mob Defense set value -3
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    data modify storage asset:mob Speed set value 0.15d
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        data modify storage asset:mob Resist.Physical set value 1.0d
    # 魔法倍率 (float) (オプション)
        data modify storage asset:mob Resist.Magic set value 0.5d
    # 火倍率 (float) (オプション)
        data modify storage asset:mob Resist.Fire set value 0.5d
    # 水倍率 (float) (オプション)
        data modify storage asset:mob Resist.Water set value 1.0d
    # 雷倍率 (float) (オプション)
        data modify storage asset:mob Resist.Thunder set value 1.0d

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=zombie,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0187.flame_mage/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:187} run function asset:mob/0187.flame_mage/summon/2.summon


text:
#> asset:mob/0187.flame_mage/hurt/2.hurt
#
# Mobの被ダメージ時の処理
#
# @within function asset:mob/0187.flame_mage/hurt/1.trigger

# サウンド
    playsound minecraft:entity.vex.hurt hostile @a ~ ~ ~ 1 0.5
    playsound minecraft:entity.vex.hurt hostile @a ~ ~ ~ 1 0.7


text:
#> asset:mob/0187.flame_mage/hurt/1.trigger
#
# Mobの被ダメージに実行されるfunction
#
# @within tag/function asset:mob/hurt

execute if data storage asset:context {id:187} run function asset:mob/0187.flame_mage/hurt/2.hurt


text:
#> asset:mob/0187.flame_mage/tick/2.tick
#
# Mobのtick時の処理
#
# @within function asset:mob/0187.flame_mage/tick/1.trigger

# パーティクル
    particle minecraft:falling_dust red_terracotta ~ ~1 ~ 0.1 0 0.1 0 1

# 付近にプレイヤーがいるならスコア加算 Predicateなどが完成したらそれに移行したい
    execute positioned ^ ^ ^10 if entity @p[distance=..10] run scoreboard players add @s 57.Attack 1

# 実行
    execute if score @s 57.Attack matches 80.. run function asset:mob/0187.flame_mage/event/shoot_magic

# 射撃攻撃キャンセル
    execute unless entity @p[distance=..20] run scoreboard players reset @s 57.Attack


text:
#> asset:mob/0187.flame_mage/tick/1.trigger
#
# Mobが生きている間毎tick実行されるfunction
#
# @within tag/function asset:mob/tick

execute if data storage asset:context {id:187} run function asset:mob/0187.flame_mage/tick/2.tick


text:
#> asset:mob/0265.dark_familiar/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0265.dark_familiar/**
    scoreboard objectives add 7D.LifeTime dummy
    scoreboard objectives add 7D.ShotCool dummy


text:
#> asset:mob/0265.dark_familiar/death/2.death
#
# Mobの死亡時の処理
#
# @within function asset:mob/0265.dark_familiar/death/1.trigger

# サウンド
    playsound minecraft:block.amethyst_cluster.break hostile @a ~ ~ ~ 1.5 1.5
    playsound minecraft:entity.vex.death hostile @a ~ ~ ~ 1.5 1.2


text:
#> asset:mob/0265.dark_familiar/death/1.trigger
#
# Mobの死亡時に実行されるfunction
#
# @within tag/function asset:mob/death

execute if data storage asset:context {id:265} run function asset:mob/0265.dark_familiar/death/2.death


text:
#> asset:mob/0265.dark_familiar/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0265.dark_familiar/summon/1.trigger

# 元となるMobを召喚する
    summon husk ~ ~-100 ~ {NoAI:1b,Team:"NoCollision",Tags:["MobInit","AlwaysInvisible","AlwaysSlowFall"],DeathTime:19s,DeathLootTable:"asset:mob/death/0265.dark_familiar",IsBaby:1b,Silent:1b}
# ID (int)
    data modify storage asset:mob ID set value 265
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"ダークファミリア","color":"#B638FF","italic":false}'

# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"minecraft:stick",Count:1b,tag:{CustomModelData:20177}}

# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 500
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value 0
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    # data modify storage asset:mob Defense set value
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    # data modify storage asset:mob Speed set value
# 索敵範囲 (double) (オプション)
    # data modify storage asset:mob FollowRange set value
# ノックバック耐性 (double) (オプション)
    # data modify storage asset:mob KnockBackResist set value
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Physical set value
    # 魔法倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Magic set value
    # 火倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Fire set value
    # 水倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Water set value
    # 雷倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Thunder set value

# 上から降ろす
    execute positioned ~ ~-100 ~ as @e[type=husk,tag=MobInit,distance=..0.01] run function asset:mob/0265.dark_familiar/summon/init

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=husk,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0265.dark_familiar/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:265} run function asset:mob/0265.dark_familiar/summon/2.summon


text:
#> asset:mob/0265.dark_familiar/summon/init
#
#
#
# @within function asset:mob/0265.dark_familiar/summon/2.summon

# この世界に存在できる時間
    scoreboard players set @s 7D.LifeTime 200

# 降りてくる
    execute at @s run tp @s ~ ~100 ~

# プレイヤーの方を向く
    execute at @s facing entity @p eyes run tp @s ~ ~ ~ ~ ~-45

# パーティクル
    execute at @s anchored eyes positioned ^ ^ ^ run particle poof ~ ~-0.3 ~ 0 0 0 0.1 10


text:
#> asset:mob/0265.dark_familiar/hurt/2.hurt
#
# Mobの被ダメージ時の処理
#
# @within function asset:mob/0265.dark_familiar/hurt/1.trigger

# サウンド
    playsound minecraft:block.amethyst_cluster.step hostile @a ~ ~ ~ 1.5 2
    playsound minecraft:entity.vex.hurt hostile @a ~ ~ ~ 1.5 1.2


text:
#> asset:mob/0265.dark_familiar/hurt/1.trigger
#
# Mobの被ダメージに実行されるfunction
#
# @within tag/function asset:mob/hurt

execute if data storage asset:context {id:265} run function asset:mob/0265.dark_familiar/hurt/2.hurt


text:
#> asset:mob/0265.dark_familiar/tick/2.tick
#
# Mobのtick時の処理
#
# @within function asset:mob/0265.dark_familiar/tick/1.trigger

# パーティクル
    execute anchored eyes positioned ^ ^ ^-0.3 run particle dust 0.5 0 0.6 0.5 ~ ~ ~ 0.1 0.1 0.1 0 1 force @a[distance=..40]
    execute anchored eyes positioned ^ ^ ^-0.3 run particle dust 0.5 0.3 0.6 0.7 ~ ~ ~ 0.1 0.1 0.1 0 1 force @a[distance=..40]

# 範囲内ならホーミングじみた移動
    execute facing entity @e[type=zombie,scores={MobID=264},distance=..30] feet positioned ^ ^ ^-100 rotated as @s positioned ^ ^ ^-2000 facing entity @s eyes positioned as @s run tp @s ^ ^ ^0.2 ~ ~

# 近くにサモナーがいないのであれば、プレイヤーに突っ込んでくる
    execute unless entity @e[type=zombie,scores={MobID=264},distance=..30] facing entity @p[distance=..30] feet positioned ^ ^ ^-100 rotated as @s positioned ^ ^ ^-2000 facing entity @s eyes positioned as @s run tp @s ^ ^ ^0.2 ~ ~

# 接地で上を向く
    execute positioned ~ ~1.68 ~ unless block ~ ~-1 ~ #lib:no_collision at @s run tp @s ~ ~ ~ ~ ~-35
    execute positioned ~ ~1.68 ~ unless block ~ ~1 ~ #lib:no_collision at @s run tp @s ~ ~ ~ ~ ~80

# カベにぶつかった際の処理
    execute positioned ~ ~1.68 ~ unless block ^ ^ ^0.5 #lib:no_collision at @s run tp @s ~ ~ ~ ~45 ~-45
    execute positioned ~ ~1.68 ~ unless block ^ ^ ^0.2 #lib:no_collision at @s run tp @s ~ ~ ~ ~45 ~-45

# 世界に存在しすぎた場合、消滅する
    scoreboard players remove @s 7D.LifeTime 1
    execute if score @s 7D.LifeTime matches ..0 run function asset:mob/0265.dark_familiar/tick/event/suicide

# 攻撃
    scoreboard players add @s 7D.ShotCool 1
    execute if score @s 7D.ShotCool matches 40.. run function asset:mob/0265.dark_familiar/tick/event/shoot


text:
#> asset:mob/0265.dark_familiar/tick/1.trigger
#
# Mobが生きている間毎tick実行されるfunction
#
# @within tag/function asset:mob/tick

execute if data storage asset:context {id:265} run function asset:mob/0265.dark_familiar/tick/2.tick


text:
#> asset:mob/0265.dark_familiar/tick/event/shoot
#
#
#
# @within function asset:mob/0265.dark_familiar/tick/2.tick

# 召喚
    data modify storage api: Argument.ID set value 266
    execute anchored eyes positioned ^ ^ ^ run function api:mob/summon

# スコアのリセット
    scoreboard players reset @s 7D.ShotCool

# サウンド
    playsound minecraft:entity.shulker_bullet.hurt hostile @a ~ ~ ~ 1.5 2
    playsound minecraft:block.amethyst_cluster.break hostile @a ~ ~ ~ 1.5 1.5
    playsound minecraft:entity.vex.ambient hostile @a ~ ~ ~ 1.5 2


text:
#> asset:mob/0265.dark_familiar/tick/event/suicide
#
# 自害
#
# @within function
#   asset:mob/0265.dark_familiar/tick/2.tick
#   asset:mob/0264.dark_summoner/death/2.death

# VFX
    execute anchored eyes run particle reverse_portal ^ ^ ^ 0.25 0.25 0.25 0.5 20 force @a[distance=..40]

# 消える
    tp @s ~ -100 ~
    kill @s


text:
#> asset:mob/0030.warped/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0030.warped/summon/1.trigger

# 元となるMobを召喚する
    summon drowned ~ ~ ~ {Tags:["MobInit"],DeathLootTable:"asset:mob/death/0030.warped"}
# ID (int)
    data modify storage asset:mob ID set value 30
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"歪んだ者","color":"dark_aqua","underlined":true}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Mainhand set value
    # オフハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Offhand set value
# 武器ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob WeaponDropChances set value
# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"minecraft:tube_coral_block",Count:1b}
    # 胴 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Chest set value
    # 脚 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Legs set value
    # 足 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Feet set value
# 防具ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob ArmorDropChances set value
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 118
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value 1
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    #data modify storage asset:mob Defense set value
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    data modify storage asset:mob Speed set value 0.24
# 索敵範囲 (double) (オプション)
    data modify storage asset:mob FollowRange set value 32
# ノックバック耐性 (double) (オプション)
    data modify storage asset:mob KnockBackResist set value 0.2
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        data modify storage asset:mob Resist.Physical set value 0.93
    # 魔法倍率 (float) (オプション)
        data modify storage asset:mob Resist.Magic set value 0.89
    # 火倍率 (float) (オプション)
        data modify storage asset:mob Resist.Fire set value 0.91
    # 水倍率 (float) (オプション)
        data modify storage asset:mob Resist.Water set value 0.86
    # 雷倍率 (float) (オプション)
        data modify storage asset:mob Resist.Thunder set value 0.97

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=drowned,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0030.warped/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:30} run function asset:mob/0030.warped/summon/2.summon


text:
#> asset:mob/0030.warped/attack/1.trigger
#
# Mobの攻撃時に実行されるfunction
#
# @within tag/function asset:mob/attack

execute if data storage asset:context {id:30} run function asset:mob/0030.warped/attack/2.attack


text:
#> asset:mob/0030.warped/attack/2.attack
#
# Mobの攻撃時の処理
#
# @within function asset:mob/0030.warped/attack/1.trigger

# 演出
    execute at @p[tag=Victim] run particle minecraft:dragon_breath ~ ~ ~ 0.5 1 0.5 0.05 50 normal @a
    execute at @p[tag=Victim] run playsound minecraft:block.end_portal_frame.fill hostile @a ~ ~ ~ 1 0.5 0

# 属性ダメージ
   # 与えるダメージ
        data modify storage lib: Argument.Damage set value 2.0f
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Magic"
    # 第二属性
        data modify storage lib: Argument.ElementType set value "None"
    # 補正functionを実行
        function lib:damage/modifier
    # 攻撃対象に
        execute as @p[tag=Victim] run function lib:damage/
    # リセット
        function lib:damage/reset


text:
#> asset:mob/0061.stray/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0061.stray/summon/1.trigger

# 元となるMobを召喚する
    summon stray ~ ~ ~ {Tags:["MobInit","AntiBurn"],DeathLootTable:"asset:mob/death/0061.stray"}
# ID (int)
    data modify storage asset:mob ID set value 61
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"translate":"entity.minecraft.stray","color":"gray"}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        data modify storage asset:mob Weapon.Mainhand set value {id:"bow",Count:1b}
    # オフハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Offhand set value
# 武器ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob WeaponDropChances set value
# 防具
    # 頭 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Head set value
    # 胴 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Chest set value
    # 脚 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Legs set value
    # 足 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Feet set value
# 防具ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob ArmorDropChances set value
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 125
# 攻撃力 (double) (オプション)
    # data modify storage asset:mob AttackDamage set value
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    # data modify storage asset:mob Defense set value
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    # data modify storage asset:mob Speed set value
# 索敵範囲 (double) (オプション)
    data modify storage asset:mob FollowRange set value 16
# ノックバック耐性 (double) (オプション)
    # data modify storage asset:mob KnockBackResist set value
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Physical set value
    # 魔法倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Magic set value
    # 火倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Fire set value
    # 水倍率 (float) (オプション)
        data modify storage asset:mob Resist.Water set value 0.8
    # 雷倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Thunder set value

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=stray,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0061.stray/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:61} run function asset:mob/0061.stray/summon/2.summon


text:
#> asset:mob/0061.stray/attack/1.trigger
#
# Mobの攻撃時に実行されるfunction
#
# @within tag/function asset:mob/attack

execute if data storage asset:context {id:61} run function asset:mob/0061.stray/attack/2.attack


text:
#> asset:mob/0061.stray/attack/2.attack
#
# Mobの攻撃時の処理
#
# @within function asset:mob/0061.stray/attack/1.trigger

# 水属性ダメージ

# 引数の設定
    # 与えるダメージ
        data modify storage lib: Argument.Damage set value 1.0
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Physical"
    # 第二属性
        data modify storage lib: Argument.ElementType set value "Water"
# 補正functionを実行
    function lib:damage/modifier
# 対象に
    execute as @p[tag=Victim,distance=..32] run function lib:damage/
# リセット
    function lib:damage/reset


text:
#> asset:mob/0057.none_fighter/death/2.death
#
# Mobの死亡時の処理
#
# @within function asset:mob/0057.none_fighter/death/1.trigger

# 演出
    particle minecraft:block white_concrete ~ ~1.2 ~ 0.2 0.5 0.2 0 30 normal @a
    playsound minecraft:block.stone.break hostile @a ~ ~ ~ 1 0.5 0


text:
#> asset:mob/0057.none_fighter/death/1.trigger
#
# Mobの死亡時に実行されるfunction
#
# @within tag/function asset:mob/death

execute if data storage asset:context {id:57} run function asset:mob/0057.none_fighter/death/2.death


text:
#> asset:mob/0057.none_fighter/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0057.none_fighter/summon/1.trigger

# 元となるMobを召喚する
    summon skeleton ~ ~ ~ {Silent:1b,Tags:["MobInit","AlwaysInvisible"],DeathLootTable:"asset:mob/death/0057.none_fighter"}
# ID (int)
    data modify storage asset:mob ID set value 57
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"虚闘者","color":"white"}'

# 武器
    # メインハンド (Compound(Item)) (オプション)
        # 一度剣にした後、乱数で弓に変更
            data modify storage asset:mob Weapon.Mainhand set value {id:"iron_sword",Count:1b}
            execute if predicate lib:random_pass_per/50 run data modify storage asset:mob Weapon.Mainhand set value {id:"bow",Count:1b,tag:{Enchantments:[{id:"power",lvl:5}]}}

    # オフハンド (Compound(Item)) (オプション)
        data modify storage asset:mob Weapon.Offhand set value {id:"minecraft:shield",Count:1b,tag:{BlockEntityTag:{Base:0}}}

# 武器ドロップ率 ([float, float]) (オプション)
    data modify storage asset:mob WeaponDropChances set value [0.0f,0.0f]
# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"white_concrete",Count:1b}
    # 胴 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Chest set value {id:"minecraft:leather_chestplate",Count:1b,tag:{display:{color:16777215}}}
    # 脚 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Legs set value {id:"minecraft:leather_leggings",Count:1b,tag:{display:{color:16777215}}}
    # 足 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Feet set value {id:"minecraft:leather_boots",Count:1b,tag:{display:{color:16777215}}}
# 防具ドロップ率 ([float, float]) (オプション)
    data modify storage asset:mob ArmorDropChances set value [0.0f,0.0f,0.0f,0.0f]
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 232.5
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value -4.0
# 防御力 (double) (オプション) // 被ダメージがある3大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    #data modify storage asset:mob Defense set value
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    #data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    data modify storage asset:mob Speed set value 0.25
# 索敵範囲 (double) (オプション)
    data modify storage asset:mob FollowRange set value 32
# ノックバック耐性 (double) (オプション)
    data modify storage asset:mob KnockBackResist set value 0.5
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        data modify storage asset:mob Resist.Physical set value 0.5
    # 魔法倍率 (float) (オプション)
        data modify storage asset:mob Resist.Magic set value 0.5
    # 火倍率 (float) (オプション)
        data modify storage asset:mob Resist.Fire set value 1
    # 水倍率 (float) (オプション)
        data modify storage asset:mob Resist.Water set value 1
    # 雷倍率 (float) (オプション)
        data modify storage asset:mob Resist.Thunder set value 1

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=skeleton,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0057.none_fighter/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:57} run function asset:mob/0057.none_fighter/summon/2.summon


text:
#> asset:mob/0057.none_fighter/hurt/2.hurt
#
# Mobの被ダメージ時の処理
#
# @within function asset:mob/0057.none_fighter/hurt/1.trigger

# 演出
    particle minecraft:block white_concrete ~ ~1.2 ~ 0.8 0.8 0.8 0 20 normal @a
    playsound minecraft:block.stone.break hostile @a ~ ~ ~ 1.5 0.8 0


text:
#> asset:mob/0057.none_fighter/hurt/1.trigger
#
# Mobの被ダメージに実行されるfunction
#
# @within tag/function asset:mob/hurt

execute if data storage asset:context {id:57} run function asset:mob/0057.none_fighter/hurt/2.hurt


text:
#> asset:mob/0057.none_fighter/attack/1.trigger
#
# Mobの攻撃時に実行されるfunction
#
# @within tag/function asset:mob/attack

execute if data storage asset:context {id:57} run function asset:mob/0057.none_fighter/attack/2.attack


text:
#> asset:mob/0057.none_fighter/attack/2.attack
#
# Mobの攻撃時の処理
#
# @within function asset:mob/0057.none_fighter/attack/1.trigger

# 演出
    execute at @p[tag=Victim] run particle minecraft:block white_concrete ~ ~1.2 ~ 1.0 0.5 1.0 0 40 normal @a
    execute at @p[tag=Victim] run playsound minecraft:block.stone.break hostile @a ~ ~ ~ 1 1.2 0

# 引数の設定
    # 与えるダメージ
        data modify storage lib: Argument.Damage set value 8.0
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Physical"
    # 第二属性
        data modify storage lib: Argument.ElementType set value "None"
# デスログ
    data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sとの闘いに敗北した","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
    data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sにより殺された","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
# 補正functionを実行
    function lib:damage/modifier
# 範囲
    execute at @p[tag=Victim,distance=..32] as @a[gamemode=!spectator,distance=..2.5] run function lib:damage/
# リセット
    function lib:damage/reset


text:
#> asset:mob/0082.thunder_curtain/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0082.thunder_curtain/**
    scoreboard objectives add 2A.Tick dummy


text:
#> asset:mob/0082.thunder_curtain/_index.d
# @private
#
#> Tag
# @within function asset:mob/0082.thunder_curtain/tick/**
    #declare tag ThunderTarget


text:
#> asset:mob/0082.thunder_curtain/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0082.thunder_curtain/summon/1.trigger

# 元となるMobを召喚する
    summon marker ~ ~ ~ {Tags:["MobInit"]}
# ID (int)
    data modify storage asset:mob ID set value 82
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Projectile"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value false
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set from entity @s CustomName

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=marker,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0082.thunder_curtain/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:82} run function asset:mob/0082.thunder_curtain/summon/2.summon


text:
#> asset:mob/0082.thunder_curtain/tick/4.thunder2
#
# 演出とダメージ対象の決定
#
# @within function asset:mob/0082.thunder_curtain/tick/3.thunder1

# 演出
    particle dust 1 1 0 1 ~ ~3 ~ 0.2 2.5 0.2 0 50
    particle minecraft:large_smoke ~ ~ ~ 0 0 0 0.4 1
    playsound entity.lightning_bolt.thunder hostile @a ~ ~ ~ 0.3 2 0
    playsound entity.lightning_bolt.impact hostile @a ~ ~ ~ 0.3 0 0

# 範囲内のプレイヤーにTagを付与する
    tag @a[gamemode=!spectator,distance=..2] add ThunderTarget
    execute positioned ~ ~1.2 ~ run tag @a[gamemode=!spectator,distance=..2] add ThunderTarget
    execute positioned ~ ~2.4 ~ run tag @a[gamemode=!spectator,distance=..2] add ThunderTarget
    execute positioned ~ ~3.6 ~ run tag @a[gamemode=!spectator,distance=..2] add ThunderTarget
    execute positioned ~ ~4.8 ~ run tag @a[gamemode=!spectator,distance=..2] add ThunderTarget


text:
#> asset:mob/0082.thunder_curtain/tick/2.tick
#
# Mobのtick時の処理
#
# @within function asset:mob/0082.thunder_curtain/tick/1.trigger

#> Private
# @private
    #declare score_holder $Temp

# 2tickごとに雷を落とす
    scoreboard players operation $Temp Temporary = @s 2A.Tick
    scoreboard players operation $Temp Temporary %= $2 Const
    execute if score $Temp Temporary matches 0 run function asset:mob/0082.thunder_curtain/tick/3.thunder1
    scoreboard players reset $Temp Temporary

# スコア
    scoreboard players add @s 2A.Tick 1

# 消滅
    execute if entity @s[scores={2A.Tick=120..}] run kill @s


text:
#> asset:mob/0082.thunder_curtain/tick/3.thunder1
#
# 雷を落とす位置とダメージを与える
#
# @within function asset:mob/0082.thunder_curtain/tick/2.tick

# 移動
    tp @s ^ ^ ^0.45

# 雷を落とす
    function asset:mob/0082.thunder_curtain/tick/4.thunder2
    execute positioned ^1.5 ^ ^ run function asset:mob/0082.thunder_curtain/tick/4.thunder2
    execute positioned ^3 ^ ^ run function asset:mob/0082.thunder_curtain/tick/4.thunder2
    execute positioned ^4.5 ^ ^ run function asset:mob/0082.thunder_curtain/tick/4.thunder2
    execute positioned ^-1.5 ^ ^ run function asset:mob/0082.thunder_curtain/tick/4.thunder2
    execute positioned ^-3 ^ ^ run function asset:mob/0082.thunder_curtain/tick/4.thunder2
    execute positioned ^-4.5 ^ ^ run function asset:mob/0082.thunder_curtain/tick/4.thunder2

# 範囲内にいたプレイヤーにダメージを与える
    data modify storage lib: Argument.Damage set value 22.5f
    data modify storage lib: Argument.AttackType set value "Physical"
    data modify storage lib: Argument.ElementType set value "Thunder"
    data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sの雷に撃たれ消滅した","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
    data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sの稲妻に焼け落ちた","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
    function lib:damage/modifier
    execute as @a[tag=ThunderTarget,distance=..30] run function lib:damage/

# リセット
    function lib:damage/reset
    tag @a[tag=ThunderTarget,distance=..30] remove ThunderTarget


text:
#> asset:mob/0082.thunder_curtain/tick/1.trigger
#
# Mobが生きている間毎tick実行されるfunction
#
# @within tag/function asset:mob/tick

execute if data storage asset:context {id:82} run function asset:mob/0082.thunder_curtain/tick/2.tick


text:
#> asset:mob/0280.the_desire_for_burning/death/2.death
#
# Mobの死亡時の処理
#
# @within function asset:mob/0280.the_desire_for_burning/death/1.trigger

# 演出
    particle soul_fire_flame ~ ~1 ~ 0.4 0.4 0.4 0.5 300 normal


text:
#> asset:mob/0280.the_desire_for_burning/death/1.trigger
#
# Mobの死亡時に実行されるfunction
#
# @within tag/function asset:mob/death

execute if data storage asset:context {id:280} run function asset:mob/0280.the_desire_for_burning/death/2.death


text:
#> asset:mob/0280.the_desire_for_burning/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0280.the_desire_for_burning/summon/1.trigger

# 元となるMobを召喚する
    summon blaze ~ ~ ~ {Tags:["MobInit"],DeathLootTable:"asset:mob/death/0280.the_desire_for_burning"}
# ID (int)
    data modify storage asset:mob ID set value 280
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"灼炎の願望者","color":"#AB0000"}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Mainhand set value
    # オフハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Offhand set value
# 武器ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob WeaponDropChances set value
# 防具
    # 頭 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Head set value
    # 胴 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Chest set value
    # 脚 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Legs set value
    # 足 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Feet set value
# 防具ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob ArmorDropChances set value
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 1000
# 攻撃力 (double) (オプション)
    # data modify storage asset:mob AttackDamage set value
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    # data modify storage asset:mob Defense set value
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    # data modify storage asset:mob Speed set value
# 索敵範囲 (double) (オプション)
    # data modify storage asset:mob FollowRange set value
# ノックバック耐性 (double) (オプション)
    # data modify storage asset:mob KnockBackResist set value
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        data modify storage asset:mob Resist.Physical set value 1
    # 魔法倍率 (float) (オプション)
        data modify storage asset:mob Resist.Magic set value 1
    # 火倍率 (float) (オプション)
        data modify storage asset:mob Resist.Fire set value 0
    # 水倍率 (float) (オプション)
        data modify storage asset:mob Resist.Water set value 1
    # 雷倍率 (float) (オプション)
        data modify storage asset:mob Resist.Thunder set value 1

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=blaze,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0280.the_desire_for_burning/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:280} run function asset:mob/0280.the_desire_for_burning/summon/2.summon


text:
#> asset:mob/0280.the_desire_for_burning/hurt/2.hurt
#
# Mobの被ダメージ時の処理
#
# @within function asset:mob/0280.the_desire_for_burning/hurt/1.trigger
#> private
# @private
    #declare tag 7S.This

# 被ダメ時に適当な方向に移動
# マーカー召喚
    summon marker ~ ~ ~ {Tags:["Object","7S.This"]}
# 拡散する
    data modify storage lib: Argument.Bounds set value [[1d,1d],[1d,1d],[1d,1d]]
    execute as @e[type=marker,tag=7S.This,distance=..100] at @s run function lib:spread_entity/

# マーカーの方向へ移動
    data modify storage lib: Argument.VectorMagnitude set value 1
    execute facing entity @e[type=marker,tag=7S.This,distance=..100,sort=nearest,limit=1] feet run function lib:motion/

# キル
    kill @e[type=marker,tag=7S.This,distance=..100]
# リセット
    data remove storage lib: Argument


text:
#> asset:mob/0280.the_desire_for_burning/hurt/1.trigger
#
# Mobの被ダメージに実行されるfunction
#
# @within tag/function asset:mob/hurt

execute if data storage asset:context {id:280} run function asset:mob/0280.the_desire_for_burning/hurt/2.hurt


text:
#> asset:mob/0280.the_desire_for_burning/attack/1.trigger
#
# Mobの攻撃時に実行されるfunction
#
# @within tag/function asset:mob/attack

execute if data storage asset:context {id:280} run function asset:mob/0280.the_desire_for_burning/attack/2.attack


text:
#> asset:mob/0280.the_desire_for_burning/attack/2.attack
#
# Mobの攻撃時の処理
#
# @within function asset:mob/0280.the_desire_for_burning/attack/1.trigger

# 演出
    execute at @p[tag=Victim,distance=..100] run particle flame ~ ~1.5 ~ 0.5 0.5 0.5 0.1 40 normal @a
    execute at @p[tag=Victim,distance=..100] run playsound entity.blaze.shoot hostile @a ~ ~ ~ 0.4 1.2 0

# もやす
    execute if predicate world_manager:area/02.islands at @p[tag=Victim,distance=..100] run fill ~1.5 ~1.5 ~1.5 ~-1.5 ~-1.5 ~-1.5 fire replace #lib:air

# 引数の設定
    # 与えるダメージ
        data modify storage lib: Argument.Damage set value 19.5
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Physical"
    # 第二属性
        data modify storage lib: Argument.ElementType set value "Fire"
# 補正functionを実行
    function lib:damage/modifier
# 対象
    execute as @p[tag=Victim,distance=..100] run function lib:damage/
# リセット
    function lib:damage/reset


text:
#> asset:mob/0280.the_desire_for_burning/tick/2.tick
#
# Mobのtick時の処理
#
# @within function asset:mob/0280.the_desire_for_burning/tick/1.trigger

# 演出
    particle soul_fire_flame ~ ~1 ~ 0.4 0.4 0.4 0 2 normal
    particle soul ~ ~1 ~ 0 0 0 0 1 normal


text:
#> asset:mob/0280.the_desire_for_burning/tick/1.trigger
#
# Mobが生きている間毎tick実行されるfunction
#
# @within tag/function asset:mob/tick

execute if data storage asset:context {id:280} run function asset:mob/0280.the_desire_for_burning/tick/2.tick


text:
#> asset:mob/0115.jewel_bullet/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0115.jewel_bullet/**
    scoreboard objectives add 36.Tick dummy