public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Critical Hit
  • Original author: Alistair
  • Original date: May 29, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/critical-hit.40532/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS3 Scripts (RMVX Ace)

Summary

~ Critical Hit~​by Alistair​ ​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: and The first one will raise/lower the skill's critical hit chance by x%.

Archived First Post

~ Critical Hit~​
 ​
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.

I 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:

V1.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

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Terms of Use: Direct link to my Terms of Use document: CLICK

Referenced Images / Attachments

ijyx3kw8.png
ijyx3kw8.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rgss3#script-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar