10-09-2009, 05:54 PM
All right, after testing everything i actually have a last pblm with this issue... (*sight*...sorry)
I am using a custom SBS script, that requires to tag weapon with their element for animation.
I mean that Slash Element, Bow element, Spear Element etc. will give Slah anim,
Bow anim, Spear anim, in battle.
if i dont tag my weapons + the skills with the Bow element (for example),
the bow user is gona move to the enemy and strike with his bow as if it was a sword.
So i really need to tag weapons with their animation related tag, and same for the skill.
the problem is that all the monsters have a resistance to the weapon Element of C (normal damage).
So in case of a skill (let s say "magic arrow") cast with a fire bow, on a wind enemy
(so 150% dmg is expected) RMXP is calculating like that :
Bow taged with Fire = 150 %
Bow taged with Bow = 100 %
Skill taged with Non Ele (your code fix that, it s getting the fire ele from the weapon) = no incidence
Skill taged with Bow = 100%
and instead of getting the 150 % dmg expected, RMXP makes an average of all of those, 350/3 = 117%
T_______________T
I am using a custom SBS script, that requires to tag weapon with their element for animation.
I mean that Slash Element, Bow element, Spear Element etc. will give Slah anim,
Bow anim, Spear anim, in battle.
if i dont tag my weapons + the skills with the Bow element (for example),
the bow user is gona move to the enemy and strike with his bow as if it was a sword.
So i really need to tag weapons with their animation related tag, and same for the skill.
the problem is that all the monsters have a resistance to the weapon Element of C (normal damage).
So in case of a skill (let s say "magic arrow") cast with a fire bow, on a wind enemy
(so 150% dmg is expected) RMXP is calculating like that :
Bow taged with Fire = 150 %
Bow taged with Bow = 100 %
Skill taged with Non Ele (your code fix that, it s getting the fire ele from the weapon) = no incidence
Skill taged with Bow = 100%
and instead of getting the 150 % dmg expected, RMXP makes an average of all of those, 350/3 = 117%
T_______________T