hi guys this time i have a little porblem with "skillS" and the problem is that it can`t critical =(
well what should i do in order for my skills be crit capable?? (damge and healing) thanks :3
Quote from: Lanzer on December 15, 2010, 06:46:45 pm
hi guys this time i have a little porblem with "skillS" and the problem is that it can`t critical =(
well what should i do in order for my skills be crit capable?? (damge and healing) thanks :3
As far as I know, skills can't get critical hits. You're probably going to need to have someone write a script for you if you want that feature.
If I remember right, they can do critical hits if they are physical.
ok if rose says so =( :sniff:
Is Blizz is right, then making them physical (Magic resistance of 0) should allow them to hit criticals.
No, you make them physical if the attack factor is greater than 0 and power is different than 0. I know that from the damage calculations. But I was wrong, that won't make skills have critical hits. Looks like I implemented that in CP only.
hen it is possible or not D=? (default battle system)
You need a script for it.
OMFG blizz is wrong?!??!
Actually is possible to make skills, spells and maybe buffs(?) and items ,be capable of a critcal strike by only
searching these lines in Game_Battler 3 "def skill_effect(user, skill)" (around line 103) once found this,
try searching for :
if self.damage > 0
# Correccion de Defensa
if self.guarding?
self.damage /= 2
end
end
Next you should add (below "if self.damage > 0"):
# Correccion de ataque critico
if rand(100) < 4 * attacker.dex / self.agi
self.damage *= 2
self.critical = true
end
Which is the default critical formula, plus if you are using Xelias Passive Augments script , you can add a whole lot of critical formulas for each actor ,enemy ,etc.
Maybe this should go in tutorials?? script maybe neededfor this .
Quote from: Lanzer on December 30, 2010, 05:35:06 pm
OMFG blizz is wrong?!??!
Actually is possible to make skills, spells and maybe buffs(?) and items ,be capable of a critcal strike by only
searching these lines in Game_Battler 3 "def skill_effect(user, skill)" (around line 103) once found this,
try searching for :
if self.damage > 0
# Correccion de Defensa
if self.guarding?
self.damage /= 2
end
end
Next you should add (below "if self.damage > 0"):
# Correccion de ataque critico
if rand(100) < 4 * attacker.dex / self.agi
self.damage *= 2
self.critical = true
end
Which is the default critical formula, plus if you are using Xelias Passive Augments script , you can add a whole lot of critical formulas for each actor ,enemy ,etc.
Maybe this should go in tutorials?? script maybe neededfor this .
As far as I know, this looks like a small script O.o? That, Lanzer, IS a small script. Blizz meant that you couldn't do it without any modification to the default script, so no Database-editing :D... Well, I think he meant that...
Cya :urgh:!
Lanzer, you know you're the wrong one, yes?
Wrong about Blizzard being wrong.
No, that's what I meant. A script is a piece of code. Whether it's an additional piece of code or an edit of an already existing piece of code, it's still a script. Even if it's actually just one character (such as ! or & or | or p).