MythicSkriptAddon ?
这是 MythicMobs 与 Skript 之间的强大桥梁。此插件允许你使用纯 Skript 语法为 MythicMobs 创建自定义机制、条件、目标选择器和掉落物。它还让你能够直接从脚本中完全控制 ActiveMobs 和 MythicSpawners。
? 主要特性
- 自定义机制 (
skfunction):直接从 MythicMobs 技能中调用 Skript 函数。
- 自定义条件:在 Skript 端为目标和位置创建复杂的检查逻辑。
- 自定义目标选择器:使用 Skript 逻辑选择目标并将其返回给 MythicMobs。
- 自定义掉落物:使用 Skript 函数管理物品掉落和消息提示。
- 完整的生物控制:实时修改 ActiveMobs 的生命值、护甲、伤害、威胁表、阵营和姿态。
- 生成器集成:通过 Skript 控制 MythicSpawners(预热、冷却、激活、更改生物类型)。
? 依赖要求
- 服务端:Paper 或其分支 1.21.4 – 26.2
- MythicMobs:5.12.0 或更高版本
- Skript:2.16.0 或更高版本
- Java:21+
? 快速入门(示例)
你可以轻松地在 MythicMobs Skills.yml 中将一个 Skript 函数触发为机制:
在 MythicMobs 技能文件 (Skills.yml) 中:
SkriptSkillExample:
Skills:
- skfunction{name=my_custom_skill} @target ~onInteract
在你的脚本文件 (.sk) 中:
function my_custom_skill(data: skilldata, target: entity, loc: location) :: boolean:
broadcast "MythicMob %caster of {_data}% used a skill on %{_target}%!"
apply glowing to {_target} for 5 seconds
return true
? 文档与语法
详细的表达式、效果、事件列表以及关于使用 skfunction 的指南,请参阅我们的 Wiki 页面。
? 更新日志
所有更改、新 API 版本的更新以及错误修复均记录在 CHANGELOG.md 文件中。
? 许可证
本项目遵循 Apache License 2.0 许可协议。
原始概念及早期版本由 BerndiVader 提供。
MythicSkriptAddon ?
A powerful bridge between MythicMobs and Skript. This addon allows you to create custom mechanics, conditions, targeters, and drops for MythicMobs using purely Skript syntax. It also gives you full control over ActiveMobs and MythicSpawners directly from your scripts.
? Key Features
- Custom Mechanics (
skfunction): Call Skript functions directly from MythicMobs skills.
- Custom Conditions: Create complex checks on the Skript side for targets and locations.
- Custom Targeters: Select targets using Skript logic and pass them back to MythicMobs.
- Custom Drops: Manage item drops and messages using Skript functions.
- Full Mob Control: Modify health, armor, damage, Threat Tables, factions, and Stances of ActiveMobs on the fly.
- Spawner Integration: Control MythicSpawners (warmups, cooldowns, activation, changing mob types) via Skript.
? Requirements
- Server: Paper or its fork 1.21.4 – 26.2
- MythicMobs: 5.12.0 or newer
- Skript: 2.16.0 or newer
- Java: 21+
? Quick Start (Example)
You can easily trigger a Skript function as a mechanic in your MythicMobs Skills.yml:
In MythicMobs skills file (Skills.yml):
SkriptSkillExample:
Skills:
- skfunction{name=my_custom_skill} @target ~onInteract
In your script file (.sk):
function my_custom_skill(data: skilldata, target: entity, loc: location) :: boolean:
broadcast "MythicMob %caster of {_data}% used a skill on %{_target}%!"
apply glowing to {_target} for 5 seconds
return true
? Documentation & Syntax
A comprehensive list of expressions, effects, events, and a detailed guide
on working with skfunction can be found on our Wiki page.
? Changelog
All changes, updates to new API versions, and bug fixes are documented in the CHANGELOG.md file.
? License
This project is licensed under the Apache License 2.0.
Original concept and early versions by BerndiVader.
评论 0
登录后参与评分
还没有评论,来抢沙发吧