Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Change Critical Damage for Certain Weapons
AresWarrior
post Jun 15 2010, 04:55 PM
Post #1


Level 5
Group Icon

Group: Member
Posts: 69
Type: None
RM Skill: Beginner




OKAY I'm only posting this because I get auto-suspended each time I post this script at Gamefaqs. This is just to help someone out. Proof:

http://i251.photobucket.com/albums/gg313/z...d_No_Reason.png

SO...here's what I've been trying to post.


Okay I've attempted it and this is what I got. I'm not a good scripter so it might not work right. so...

Go to the Script Editor and go to Game_Battler 3. Scroll down until you find:

# Critical correction
if rand(100) < 4 * attacker.dex / self.agi
self.damage *= 2
self.critical = true
end

Change that whole thing to:

CODE
# Critical correction
if rand(100) < 4 * attacker.dex / self.agi
if attacker.weapon_id == WEAPON_ID
self.damage *= CRIT
else
self.damage *= 2
end
self.critical = true
end


Just change WEAPON_ID to the weapon you want that will do the different critical damage. Change CRIT to how much you want it to multiply by. The default critical damage is 2. If you want to see a big difference, try changing CRIT to 10.

This post has been edited by AresWarrior: Jun 28 2010, 03:20 PM
Go to the top of the page
 
+Quote Post
   

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 06:27 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker