Increased critical hit rate by a script
#1
Hey folks, just signed in. Quite a nice community!
At the moment im working on a project. (RPG XP) Iam in need of a script which increases the critical hit rate when the acotr is inflicted with a state.
Im talking about this:
Actor is inflicted with state 21 (for example). Now his critical hit rate increases about 50%.
The rate of icreasement of the critical hit should be defined by me. As well as the state id.

I need it for the rpg xp.
I hope you can help me guys!! :)
Reply
#2
set the state to make dexterity 150%
Reply
#3
Critical hits apply only to attacks and not skills mind, but yes that is the easiest way to do it!

critical hit formula is (4*Attacker‘s DEX/Target‘s AGI)%

fyi if you want to learn how to do interesting things in battle, this is a good read http://rmrk.net/index.php/topic,76.0.html
Reply
#4
No, you didint understand me.

I know that cirtical hit only happens with a normal attack. I didint ask for a skill which makes critical hit.
I want a little script, that adds a status which raises the chance to critical hit once the player is inflicted with this status.
How hard is this to understand?


MechanicalPen: What does this have to do with me? Nothing.
Reply
#5
Before dismissing everyone as wrong and "not understanding", then sounding a little offensive by saying "how hard is it to understand", have a look into what they're suggesting.
Kasper is actually correct: http://www.rpg-maker.fr/dl/monos/aide/xp...rules.html
According the the formula here, increasing the dexterity would increase the chance of a critical hit. Therefore you need an event that increases the character's dexterity during battle and that would solve your issue.

Furthermore, I typed "rpg maker xp critical hit" into Google, clicked the first link and got a forum with a link to Victor Saint's Critical Hits Effects script.
http://victorscripts.wordpress.com/rpg-m...s-effects/
Here you go.

This community is nice, you're right, so please treat everyone with respect.
Got a game on Steam! [Image: header.jpg?t=1486637353]  [Image: metalrenardlogo-tiny-52718e9.png] Composer, rocker, world ambassador for foxes!
Reply
#6
First of all: Im not offened at all. I feel sorry If I sounded a bit angry.

Im gonnna recheck what mechnialpen has posted as a link.
But I really asked for a clear script and not for a little change by adding DEX.

And to you: The download of the site you posted is broken.
But I am pretty sure, that your posted script is for RPG VX.

I try my best respecting everyone
Reply
#7
Increasing dexterity doesn't need a script though, that's what I mean. You can create an attack that gives the state "crit up" or something, then make that state give 150% dexterity. Done! :)

Oh and the link was a VX script, my bad.
Got a game on Steam! [Image: header.jpg?t=1486637353]  [Image: metalrenardlogo-tiny-52718e9.png] Composer, rocker, world ambassador for foxes!
Reply
#8
yeah everyone on the internet is way too script happy. figuring out as much as you can without turning to scripts keeps them from becoming a crutch. not every script is compatible with every other script, so you're best off doing as much as possible without scripts first.
Reply
#9
Alternatively, you could learn how to script yourself, then you could do anything.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
   modifying the "exit" option in an existing script parawixlia 2 61 1 hour ago
Last Post: parawixlia
   Is there a script to make train actors face the same way as the player? Ace_V 12 8,572 04-07-2026, 10:01 AM
Last Post: Ace_V
   Lead Actor Swapper script error Ace_V 25 30,021 09-07-2025, 01:22 PM
Last Post: DerVVulfman
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 8,300 11-22-2024, 07:02 PM
Last Post: JayRay
   Script compatibility help Lord Vectra 3 12,486 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 39,401 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 36,138 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 35,713 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 15,450 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 21,536 06-11-2017, 04:43 PM
Last Post: DerVVulfman



Users browsing this thread: