Posts: 12
	Threads: 4
	Joined: Jul 2014
	
	
 
	
	
		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!! :)
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,033
	Threads: 36
	Joined: Oct 2011
	
	
 
	
	
		set the state to make dexterity 150%
	
	
	
	
	
 
 
	
	
	
		
	Posts: 422
	Threads: 23
	Joined: Aug 2011
	
	
 
	
	
		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
	 
	
	
	
	
 
 
	
	
	
		
	Posts: 12
	Threads: 4
	Joined: Jul 2014
	
	
 
	
	
		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.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 2,481
	Threads: 75
	Joined: Dec 2010
	
	
 
	
	
		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.
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 12
	Threads: 4
	Joined: Jul 2014
	
	
 
	
	
		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
	
	
	
	
	
 
 
	
	
	
		
	Posts: 2,481
	Threads: 75
	Joined: Dec 2010
	
	
 
	
	
		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.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,033
	Threads: 36
	Joined: Oct 2011
	
	
 
	
	
		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.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 422
	Threads: 23
	Joined: Aug 2011
	
	
 
	
	
		Alternatively, you could learn how to script yourself, then you could do anything.