该事件的核心机制是:一张结构图(schematic)会在随机坐标生成(X 和 Z 轴的生成范围在 config.yml 中指定)。该结构图位于路径 plugins/TowerManaEvent/schematics/<schematic_name> 下(结构图名称在 config.yml 中指定)。结构图生成后,所有宝箱上方会出现全息投影(全息投影的行配置在 config.yml 中)。全息投影会显示关于宝箱的信息:宝箱拥有的法力值、当前阶段、上次使用的技能。同时还会出现一个 Boss 栏(在 config.yml 中配置),可用于显示事件信息:事件坐标、当前阶段、距离阶段结束剩余的时间、PvP 状态(启用/禁用)。宝箱会使用法力值来发动技能。
共有 4 种技能:
- Web(蛛网):在玩家脚下生成蛛网并造成伤害;随后蛛网消失。
- Fireballs(火球):在宝箱上方生成火球,随后火球飞向玩家。
- Splash damage(溅射伤害):宝箱周围会出现圆形粒子效果,先扩张再收缩。处于这些圆圈内的玩家会受到伤害。
- Horses(马匹):在宝箱前方生成马匹并向前行进。穿过其路径的玩家会受到伤害并被击退。
所有技能均可在配置文件(config.yml)中进行配置。宝箱通过玩家在结构图区域内死亡来补充法力值。此后,事件的第 1 阶段开始。事件总共包含 3 个阶段(可在 config.yml 中配置)。对于每个阶段,您可以配置:PvP 状态(启用/禁用)、持续时间、可用技能、是否允许开启宝箱。在结构图区域内,玩家的 FLY(飞行)、GOD(无敌)和 VANISH(隐身)等权限将被禁用。可以针对事件开始、事件结束以及阶段转换等操作配置动作(例如发送消息、播放声音等)。
宝箱在配置文件(config.yml)的 settings.chests 部分进行定义,其中规定了宝箱沿 X、Y、Z 轴的偏移量。您还可以配置:宝箱的法力初始值、每次玩家死亡时随机宝箱获得的法力值数量、以及进入下一阶段事件时授予的法力值数量。
The essence of the event is that a schematic spawns at random coordinates (the range is specified in config.yml for the X and Z axes). The schematic is located at the path plugins/TowerManaEvent/schematics/<schematic_name> (the schematic name is specified in config.yml). After the schematic has spawned, a hologram appears above all chests (the hologram lines are configured in config.yml). The hologram displays information about the chest: the amount of mana the chest has, the current stage, the last ability used. A bossbar also appears (configured in config.yml), which can display event information: event coordinates, current stage, time remaining until the stage ends, PvP status (enabled/disabled). The chest spends mana on abilities. There are 4 abilities in total: Web: spawns a web beneath a player and deals damage; the web then disappears, Fireballs: spawns fireballs above the chest, which then fly towards players, Splash damage: particles appear around the chest in the form of a circle that expands and then contracts. Players within these circles take damage, Horses: horses spawn in front of the chest and move forward. Players who cross their path take damage and are knocked back. All abilities are configurable in the configuration file (config.yml). The chest replenishes mana through player deaths within the schematic area. After this, Stage 1 of the event begins. There are 3 stages in total (configurable in config.yml). For each stage, you can configure: PvP status (enabled/disabled), duration, available abilities, whether opening chests is allowed or forbidden. Player privileges such as FLY, GOD, and VANISH are disabled within the schematic area. Actions can be configured for, event start, event end, stage transitions (e.g., sending a message, playing a sound, etc.). Chests are specified in the configuration file (config.yml) in the settings.chests section, where the chest’s offset along the X, Y, and Z axes is defined. You can also configure, the initial amount of mana for a chest, how much mana a random chest gains per player death, how much mana is granted when transitioning to the next event stage.
评论 0
登录后参与评分
还没有评论,来抢沙发吧