设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 53|回复: 0

[转载发布] Select Multiple Targets, v3.0 - Select Multiple Different Targets and divide Dam

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29925
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    38778

    灌水之王

    发表于 昨天 13:44 | 显示全部楼层 |阅读模式
    SelectMultipleTargets (modification) v3.0
    Zevia | ST0RMTiger


    Introduction
    This is an extension of original Script of Zevia.
    It is fully compatible and just adds a handful options to it.

    Features
    1) Being able to create a skill to target multiple targets but each target only one time
    2) Optional dividing damage / positive Effects of the skill among all selected targets (3 different options)

    All settings are defined for each skill individually in the skill database. So you are free to choose any option for each skill and create a lot of different reacting skills!

    How to Use
    To install the plugin just copy it to the /js/plugins folder of your project and import it in the plugin manager. If you replace Zevia's original plugin just overwrite the js file. There is no need to import the plugin again if you have the original already imported.

    Plugin Commands / Script Calls
    There are four different tags that can be set in the skill database:

    <multipleTargets: x>
    (replace x with the maximum number of targets that you want your skill to be able to be casted on)

    This tag has the same functionality as in the original plugin. When the corresponding skill is chosen in battle, player can choose up to x targets that are attacked with this skill in the same round. Targets can also be the same!

    <multipleDifferentTargets: x>
    (replace x with the maximum number of targets that you want your skill to be able to be casted on)

    This tag lets the player choose up to x targets that are attacked with this skill in the same round. Targets cannot be chosen twice! If chosen second time, the target selection is closed and the attack is conducted. This way, there is the posibility to choose e.g. 2 out of 3 targets and each target is hit only one time, even if x is set to something like 4 or higher.

    This tag will be interpreted prior to <multipleTargets: x> if this tag would be also present in the same skill (which is not neccesary).

    <mTMalusFactor: x>
    (replace x with a number, e.g. 1.5 to define the damage reduction factor used in the calculations.)

    See below.

    <multipleTargetsMalusType: type>
    (replace Type by ONCE or LINEAR or EXPONENTIAL to define the type of damage calculation)

    ONCE

    The damage (or positive effect) of the original attack will be divided through mTMalusFactor and all selected targets will be damaged with this resulting value (no matter how many targets have been selected).

    LINEAR
    The damage of the original attack will be spread evenly above all selected targets. E.g. if 3 targets are selected, the damage will be 1/3 of the original attacks damage. The total damage to all targets is therefore equal to the damage of the original attack. (LINEAR damage types do not require the "mTMalusFactor")

    EXPONENTIAL
    reduces damage (or positive effect power) by formula
    "new damage = damage / (mTMalusFactor^(number of targets-1))"

    This is the most interesting function as it introduces some nice "secrets" about best usage of your skill. If chosen factor 1.5 for example, the total damage increases wich each additional target up to an amount of 3 targets. Selecting 4 Targets reduces the total damage and selecting more than 5 targets will reduce total damage below original attacks strength.

    So there is a kind of "perfect" number of enemies to target, if targeting one strong enemy to get rid of it as soon as possible is not even better
    . Choose different values and add a lot of learning to the game to be a perfect fighter.

    Here are some graphics about value settings resulting into damage and total damage.
















    Demo
    I have created a demo project where you will be teached everything
    You should to do something similar in your game when you teach the player to attack multiple Targets.

    Download
    https://www.st0rmnet.de/downloads/SelectMultipleTargets v3.0 - Example Project.zip

    Terms and Credits
    This plugin may be used in every rpgmaker project, even in commercial and adult-themed games.
    We do not offer any warranty.
    You have to credit both Zevia and ST0RMTiger.

    If modifying the plugin or using parts of it, you have to keep the descriptions, the authors and the licence conditions.

    Hoping that you enjoy it!

    I will help you if i can. Just ask


    Best wishes,
    ST0RMTiger


    本贴来自国际rpgmaker官方论坛作者:ST0RMTiger处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/select-multiple-targets-v3-0-select-multiple-different-targets-and-divide-damage-between-targets.140773/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-31 23:32 , Processed in 0.110567 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表