• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Magic/Spell Points

来自Minecraft插件百科
炫宙菌讨论 | 贡献2021年5月30日 (日) 23:52的版本
跳转至: 导航搜索

Magic 有一个内部特有的进度系统即技能点,一般通过使用不同法术获得,且可以增加趣味 本页中,SP即为技能点

Collecting Spell Points

玩家成功释放法术即可获得技能点(默认) "成功释放" 在不同的法术可能有不同的定义,通常来说只需要有一个有效目标

你可以在手持法杖时再法力条(通常显示在经验条)上看见SP值

玩家可以右键一个魔化台以打开魔法商店 ,从而可用法术点数兑换新的法术。

升级

和魔化类似,当一个玩家购买了当前法杖熟练度下可购买的所有法术,可以升级至下一熟练度。当再打开技能商店GUI,就能看见更多新的可用技能

技能升级

法术依旧是独立于技能点地升级。玩家可以Shift+右键魔化台预览升级进度

SP冷却

技能点获得时有一个冷却系统。首次释放可以获得完整的技能点

但是之后,直到一段时间过去之后,获得量都会减少。(默认地,这个时间阈值为五分钟).如果继续释放法术,你就需要等一段时间才能获得完整的技能点

这个系统主要是为了防止刷SP,并且鼓励玩家多换用其他法术,这样才能最大限度获得SP

给予技能点

Spell points can be directly give to a player via the mgive command, like so:

/mgive <player> sp 100

You can also create SP items (good for shops, quests, random drops) in a similar manner:

/mgive sp:100

Note the colon- that creates a single SP item worth 100 SP, a player will earn this SP when their wands absorb this item (like a spell or upgrade item).

Configuring

The SP system is tuned towards a long progression, attempting to keep players from being able to grind-level. However it easily configurable to speed up or slow down player progression.

Disabling Spell Points

If you wish to disable the spell point system, it is easy to do. Wand and spell progression use the enchanting configs in both cases, so all you need to do is put the following into config.yml:

sp_enabled: false

Wands will use the vanilla enchanting mechanics instead, reverting to the behavior prior to Magic 5.4.

Note that this may not work in current versions of Minecraft, due to hoes not being enchantable.

Disabling the SP Display

When a player holds their wand, Spell Points are displayed in place of their experience level. If you wish to disable this, add the following to config.yml:

sp_display: none

SP调整

If you wish to change the the SP cap (the maximum amount of SP a player may store up), change the following in config.yml:

sp_max: 9999

If you want to modify the "cooldown" on players earning SP, this is done in spells.yml. You can change the default value for all spells by modifying default.earns_cooldown:

default:
    # Spells take 15 minutes to return to full SP earning potential
    earns_cooldown: 900000

This value is in milliseconds, so you might need to pull out your calculator!

You can also modify this value per-spell, should you wish to have some spells earn SP more frequently than others.

To change the default to 1 minute, you can use this command:

/mconfig configure spell default earns_cooldown 60000

Disabling Earning SP

If you want to give out SP via shops or some other method and don't want players to earn spell points for casting spells, put this in config.yml:

sp_earn_enabled: false

SP Costs

Costs are derived from the "worth_sp" field in a spell's configuration. This will be used by the builtin spellshop to determine spell prices. Shops can also be set up to sell specific spells for specific amounts of SP (or money, items), as well as selling normal items and magic items.

Other Options

If you would like to expand on the SP system, you can do so with NPC traits. The spellshop and upgrades spells can be used to replace the enchanting table, and you can configure individual spell shops in your spells.yml file.