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

Critical Hit: Critical Hit-1.png

 

Critical Hit:
~ CriticalHit~​


 ​

For the latest updates please visit my blog. I won't update this thread anymore.​

 ​

This script will allow you to control Critical Hits a little more.

It will provide you with two Notetags:

<critical: +x%> and <critical_damage: +x%>

The first one will raise/lower the skill's critical hit chance by x%.

The second one will raise/lower the skill's critical hit damage by x%.

You may change the default formula for critical damage as well. By default, a critical hit will multiply the damage by 3.

The script will allow you to use a formula instead if you desire. This will enable you to have even greater control over the critical damage.

Instructions:

Place this script below most of your other scripts. I mostly only use Yanfly Scripts so there MAY be compatibility issues with other scripts which modify the same methods.

Technical Stuff inside.

SpoilerI didn't redefine the all famous make_damage_value which most combat scripts alter, because it would totally break compatibility with those scripts. Instead I was able to alias make_damage in Game_ActionResult. It shouldn't break anything, since it's aliased.



Screenshot:

Can't really show anything but for the sake of clearness, here you are.


This skill will have a high chance of inflicting a critical hit but its critical damage is reduced to 20% in compensation.

Script:

Get it at my Dropbox.

Changelog:

SpoilerV1.1.1

Changes:

- It should not crash anymore if you choose a skill from the menu (e.g. using Heal outside of Battle)

- It should no longer only grab the very last state's critical damage.

V1.1

Changes:

- States can now increase a battler's critical damage!



Future Versions:

As always: I'm open for ideas but I cannot guarantee anything.

Thanks to:

- Yanfly for his scripts from which I've learnt a lot about scripting

Terms of Use:

Direct link to my Terms of Use document: CLICK


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

幸运抽奖

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

立即查看

Loading...

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

GMT+8, 2026-10-5 03:24 , Processed in 0.064305 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部