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

[转载发布] SEK_AttackCountAndFormula - v 3.3

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

    连续签到: 2 天

    [LV.7]常住居民III

    8256

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 6 天前 | 显示全部楼层 |阅读模式
    SEK_AttackCountAndFormula - v 3.3
            By SEK


    Introduction
            Counts uses of skills and attacks and adds a bonus damage formula.


            You can also learn skills after using x times a skill or a weapon.

    Features
            - You can see how many times an actor uses a skill, save the counter to a variable and change it through plugin command.
            - Skill uses will be saved even if you save you game, close it and open it again (it's not a temporary counter!)
            -You can set a formula to add more damage to a skill!
            It can be based on its Attack Counter, on Actor level and on General Formula!
            -You can set a limit to the Attack Counter considered during the calculation of bonus damage
            -You can set a General Formula for new unlocked skills without a specific formula!

            v 3.0 - Weapon counter and formula for simple attacks implemented!
            v 3.1 - Shows next to a skill name its counter.


            v 3.2 - Modify skill counter text, size & color


                     - fixed issues with YEP_SkillCore


            v 3.3 - You can learn new skills after x uses of a skill or a weapon.


    Parameters:


            Skill General Formula


            -General formula for new skill's bonus damage. If 0, no bonus will be added. Default is "ac*lv".


            Weapon General Formula


            -General formula for new weapon's bonus damage. If 0, no bonus will be added. Default is "ac*lv".


            Draw Skill Counter in menu


            -Set this true to draw Skill Counter in menu. Default is true.


            Menu Counter Color


            -Counter's color. Use message colors. Default is 6.


            Skill Counter Menu Text


            -Skill Counter's Text in menu. Write "null" to hide it. Default is  "Counter:".


            Font Size


            -Skill Counter's Font Size in menu. Default is 20.



            Show Message when a skill is learned
            -Default is true.


    Formula Writing Notes:
            ac = Attack Counter: the number of times the skill/Weapon has been used by the actor.
            lv = The actor's level.
            gf = The General Formula used by new skills/Weapons.
            don't leave spaces when writing the formula!

    Plugin Commands:


            AttackCount showsc


            If Draw Skill Counter in menu is true, sets it false, otherwise sets it true. 


            AttackCount set x y z
            Sets the counter of a skill from an actor to a specific number.
            x = actorId
            y = skillId
            z = number of uses

            AttackCount get x y z
            Puts the counter of a skill from an actor into a Variable.
            x = actorId
            y = skillId
            z = variableId 

            AttackCount add x y z
            Adds a specific number of uses to the counter of a skill from an actor.
            x = actorId
            y = skillId
            z = number of uses to add

            AttackCount GFset x
            Changes the base damage bonus formula used for all new skills.
            x = formula, written with no spaces, 
            where 
            -ac = y's attack counter; 
            -lv = x's level
            -gf = General Formula

            AttackCount bonus x y z
            Adds a bonus damage/heal to the basic damage/heal
            based on a formula that must be written with no spaces.
            x = actorId
            y = skill to apply the formula to
            z = formula, written with no spaces, 
            where 
            -ac = y's attack counter; 
            -lv = x's level
            -gf = General Formula

            Example: AttackCount bonus 1 10 25*ac+2*lv
            if actor one is level 10 and has used skill 10 five times,
            bonus damage will be 25*5+2*10 = 145.

            AttackCount limit x y z
            Adds a limit to an actor's attack's counter.
            Note: Attack Counter will still increase, but if it goes over
            this limit, it will be considered lowered to the limit
            during bonus damage calculation. 
            Set it to -1 to remove the limit!
            x = actorId
            y = skillId
            z = Attack Counter Limit


            AttackCount learn actorId skillToUse x skillToLearn forgetPreviousSkill


             You'll learn a new skill after x uses of a skill. 


             If the last parameter is >0, You'll forget the previous skill.


            AttackCount wlearn actorId weaponToUse x skillToLearn


             You'll learn a new skill after x uses of a weapon.


    PLUGIN COMMANDS NOTE:
            Plugin Commands are the same for weapons: just add "w" before the command.
            Example: AttackCount wlimit x y z


    Screenshots/Video


            Formula part for weapons (skills work just the same, without w at the beginning of the command):



            Skill learn
    Demo
            Not needed

    Plugin
    Right click here to save the plugin

    Credit and Thanks
            - SEK
            - Silver Element -for suggesting the weapon part: great idea!


            - Fitcher -for suggesting the possibility to show how many times a skill has been used!

    Author's Notes
            Even if I try my best, I might not be able to help with issues.
            You are free to use this plugin. If you do use it, I'd like to have my name and my plugin's name included in credits.


    本贴来自国际rpgmaker官方论坛作者:SEK处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/sek_attackcountandformula-v-3-3.60217/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-1 18:44 , Processed in 0.085135 second(s), 54 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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