UnrealMultiple / TShockPlugin

TShock插件收集仓库
GNU General Public License v3.0
45 stars 11 forks source link

summon limit #552

Closed pacenadhif777 closed 2 weeks ago

pacenadhif777 commented 2 weeks ago

已阅须知 | Read the guidelines

功能有益 | Feature is beneficial

插件名字 | Plugin Name

suggest

需要什么功能? | What feature do you need?

有没有插件可以限制弹出的小兵数量?

THEXN commented 2 weeks ago

没懂,什么小兵?召唤物?仆从?

1242509682 commented 2 weeks ago

我的私人仓库里有个自定义怪物,你可以用这个解决问题,由于它的作者不愿意开源,里面涵盖了很多中文变量不适合发到这个仓库里来。

1242509682 commented 2 weeks ago

再匹配里,添加你需要限制数量的NPCID,在怪物条件里修改符合数就是限制这些怪物的数量了:

      "标志": "雕像神教",
      "怪物ID": 0,
      "再匹配": [
        46,
        47,
        464,
        168,
        470,
        148,
        149,
        465,
        57,
        55,
        230
      ],
      (省略...)
       "怪物条件": [
          {
            "怪物ID": 0,
            "查标志": "雕像神教",
            "指示物": [],
            "范围内": 0,
            "血量比": 0,
            "符合数": 10
          }
        ]

防止雕像神教

pacenadhif777 commented 2 weeks ago

I don't understand. What is a minion? A summon? A servant?

我的意思是添加召唤限制,例如地棱柱和龙杖的限制只能召唤12个小兵

i mean add limiter for minion example: terraprisma, dragon staff etc.

sgkoishi commented 2 weeks ago

https://github.com/moisterrific/SummonLimit

Controllerdestiny commented 2 weeks ago

pr #555 我在ServerTool插件中添加了一个配置"限制召唤物数量"可以实现你的需求,当pr合并后此issue将关闭。