10-09-2009, 01:32 PM
Thanks a lot for your reply Charlie ! :cheery:
It looks like the script change you have advised is not having the required effect.
I will detail more how my battle system is working :
Basically, all weapons and armors are Non Elemental (#5), and later in the game a crafting system allows
weapon enchanting with elements. (i already get this feature in my scripts)
Non Ele attack (5) against : Non Ele defense = 100 % dmg
Non Ele atk against : any Ele def (#1,2,3,4) = 75% dmg
Any Ele atk (1,2,3,4) against : Non Ele def = 125% dmg
then, when both attack and def are elemental, it s going like that :
Fire attack against : Fire, Earth = 100 %, Wind = 150%, Water = 50%,
Wind atk against : Wind, Water = 100%, Earth = 150%, Fire = 50%,
Earth atk against : Earth, Fire = 100%, Water = 150%, Wind = 50%,
Water atk against : Water, Wind = 100%, Fire = 150%, Earth = 50%
I got all the script i need for that already and the system is working perfectly,
except when i m using skills.
Let's take the example with Wind def :
When the actor got an Earth Sword, normal attack, dmg to Wind def is about 170
When the same actor got a Fire Sword (all with same stat or atk pwr) the dmg to wind is about 400.
So the system is working pretty well. My problem is that when i use a
Non Elemental skill (as Double Slash), with my fire sword, i want the Double Slash skill to get the Fire Ele from the sword instead of its own Non Ele.
After i have copy/ paste your code, and tried it out,
my Non Ele skill with Fire Sword on wind mob was about 520 dmg
my Non Ele skill with Earth Sword on wind mob was about 520 too.
(Whereas one more time, when i'm using normal attack, the element resistance/ weakness is working)
I just need the non ele skill to get the weapon Element, so that it deals more dmg when it's Fire against Wind, and less when it s Earth against Wind.
I hope i m not too confusing.. And it looks like i still need your help ><
thank you ! m(_ _)m
It looks like the script change you have advised is not having the required effect.
I will detail more how my battle system is working :
Basically, all weapons and armors are Non Elemental (#5), and later in the game a crafting system allows
weapon enchanting with elements. (i already get this feature in my scripts)
Non Ele attack (5) against : Non Ele defense = 100 % dmg
Non Ele atk against : any Ele def (#1,2,3,4) = 75% dmg
Any Ele atk (1,2,3,4) against : Non Ele def = 125% dmg
then, when both attack and def are elemental, it s going like that :
Fire attack against : Fire, Earth = 100 %, Wind = 150%, Water = 50%,
Wind atk against : Wind, Water = 100%, Earth = 150%, Fire = 50%,
Earth atk against : Earth, Fire = 100%, Water = 150%, Wind = 50%,
Water atk against : Water, Wind = 100%, Fire = 150%, Earth = 50%
I got all the script i need for that already and the system is working perfectly,
except when i m using skills.
Let's take the example with Wind def :
When the actor got an Earth Sword, normal attack, dmg to Wind def is about 170
When the same actor got a Fire Sword (all with same stat or atk pwr) the dmg to wind is about 400.
So the system is working pretty well. My problem is that when i use a
Non Elemental skill (as Double Slash), with my fire sword, i want the Double Slash skill to get the Fire Ele from the sword instead of its own Non Ele.
After i have copy/ paste your code, and tried it out,
my Non Ele skill with Fire Sword on wind mob was about 520 dmg
my Non Ele skill with Earth Sword on wind mob was about 520 too.
(Whereas one more time, when i'm using normal attack, the element resistance/ weakness is working)
I just need the non ele skill to get the weapon Element, so that it deals more dmg when it's Fire against Wind, and less when it s Earth against Wind.
I hope i m not too confusing.. And it looks like i still need your help ><
thank you ! m(_ _)m
Fighting for peace is like screwing for virginity.