SRPG Studio

SRPG Studio

评价数不足
CL_After-Combat-Unit-Summon.js
   
奖励
收藏
已收藏
取消收藏
RESOURCES: plugin
文件大小
发表于
更新日期
3.976 KB
2021 年 11 月 5 日 上午 9:37
2021 年 11 月 11 日 下午 2:41
7 项改动说明 ( 查看 )

订阅以下载
CL_After-Combat-Unit-Summon.js

描述
This script allows you to turn defeated units into a summoned allies for the killer with a specific skill. To create your very own zombie army, follow the instructions below!

=Required Steps=
First, create a Skill and set the type to Custom, then set the Keyword to "CL_Zomblade" - without the quotation marks. Then, create a Player Unit with the stats and items you want spawned. Add the Player Unit's ID as a Custom Parameter to the skill, {BookmarkCL:#}, where # is the ID. So for example, if the ID is 5, it would look like this: {BookmarkCL:5}

If you can't see their ID, then do the following to make IDs visible in the engine:
  1. Click Tools at the top of the engine and select Options
  2. Go to the Data tab of the window that pops up
  3. Check "Display id next to data name"
Then go back to your skill and enter the custom parameter as described above.

=Optional Steps=
  • Activation Chance
    If you want your Skill to respect an activation chance, and only summon a new unit on enemy defeat if it also activates on the killing blow, then add "RequireProc:true" - again, without the quotation marks - to the custom parameters of your Skill. Using the example above, here is what that would look like:

    {BookmarkCL:5, RequireProc:true}

    Note that there is only one set of curly braces wrapping the custom parameters.

  • By default, units can only be affected by this plugin if they are of Mob importance, not Sub-Leader or Leader. So, if you want to protect specific Mobs from it - say, the unit you're creating here? - you can give them the custom parameter as follows:

    {DenyZombladeCL:true}

    This will prevent even a Mob from being a death summon. If you wish to allow a specific Sub-Leader or Leader to be Unit Summoned, you can use the following custom parameter:

    {AllowZombladeCL:true}

  • That's all, folks.

You can also get this script on my GitHub![raw.githubusercontent.com]
The main repo can be found here![github.com]

Updated: 11/11/2021
2 条留言
MASA 2023 年 5 月 22 日 下午 3:36 
Hello.
Thanks for the great plugin.
Is it possible to add a map animation to this?
(Animation when triggered)
It would be interesting to have this direction to widen the range.
Maplewood  [作者] 2022 年 4 月 24 日 上午 11:04 
@toonix2010 Any unit you set up can be summoned! The zombie is just an example.