Author Topic: Change Critical Damage for Certain Weapons  (Read 908 times)

Offline AresWarrior

  • Awakened Visionist
  • **
  • Posts: 51
  • LV: 3
    • View Profile
Change Critical Damage for Certain Weapons
« on: June 29, 2010, 01:33:34 AM »
Hi I just wanted to share this little script that I figured out myself. It changes the critical damage depending on what weapon you have equipped.

Go to Game_Battler 3 and find this:

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

Change that to this:

Code: [Select]
# 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

WEAPON_ID is the ID of the weapon, and CRIT is how much you want to multiply by. If you want to see a big difference, try changing CRIT to 5 or 10. This can work for a weapon called Critical Blade or somethin.

By the way, I'm not a master scripter so this may look easy to some of you guys who are master scripters.  :P
« Last Edit: June 29, 2010, 01:35:20 AM by AresWarrior »