设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker MV 讨论区 › Battle Stacks: Battle Stacks-1.jpg

Battle Stacks: Battle Stacks-1.jpg

 

Battle Stacks:
Battle Stacks v 1.0.0
RPG Maker MV Plugin
Sniperkaos
​



What does it do?
I wanted to make a boss that progressively gets stronger, to encourage players to use critical thinking and strategy to defeat a boss instead of cheesing it with infinite heal loops and the such. Instead of increasing ATK and MATK, I decided instead to create a "Stacking" feature.

How do I use it?

Getting Started:
- You will have to uncomment the "Game_S_Database" part of the file.
Using in battle:
     - To add a stack to an enemy, you can use Post-Damage Eval from Yanfly Skill Core.
       - Example:
             <Post-Damage Eval>
                 $gameStackHandler.stack(a,1);
             </Post-Damage Eval>
       - Or, if you'd like to use a Script instead, you can use $gameTroop._enemies[index]. Either way will work.
       - To get the stacks an enemy (or ally) has, use the $gameStackHandler.stackForBattler(Battler) function. You can use this in damaging skills, for example a single target skill, such as:
               <Pre-Damage Eval>
                   value = (a.atk * 4 - b.def) * $gameStackHandler.stackForBattler(a)
               </Pre-Damage Eval>
       - When a battle is completed, if you are using an actor with the StackHandler, or an enemy you would like to reuse, call the $gameStackHandler.resetBattler(Battler) function, battler being the actor from $gameActors, or the enemy in $gameTroop.

Plugin in the attached files. I had a demo, but it's too large to upload.


Screenshot of it working:




Please give suggestions, I would love to hear feedback on what I could do more as I am not a very creative person.


本贴来自国际rpgmaker官方论坛作者:Sniperkaos处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/battle-stacks.153206/
Battle Stacks: Battle Stacks-1.jpg
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

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

立即查看

Loading...

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

GMT+8, 2026-10-3 14:42 , Processed in 0.085463 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部