10-11-2009, 05:04 AM
hello there,
i just edit this post cz i ve thought i ve found a script fixing the pblm... but it s not :(
i don't know what s wrong but it s supposed to give the effect i m looking fore ><
quote :
"Unless you want your skills doing extra damage to the enemy because
of their elements, I'd suggest following these instructions. (Special
thanks to PhotonWeapon here, and RPG Advocate)
#--------------------------------------------------------------------------
# ? ???????
# element_set : ??
#--------------------------------------------------------------------------
def elements_correct(element_set)
elements = element_set.clone
elements.delete(18)
elements.delete(17) #Whenever you get a new element that you don't
# ?????? want to count as an element, just add to
if element_set == [] to the elements.delete list. (Also, you
# 100 ??? might want to replace the 18 and 17, eh?)
return 100
end
# ???????????????????
# ????? element_rate ?????????????? Game_Actor
# ??? Game_Enemy ?????????
weakest = -100
for i in element_set
weakest = [weakest, self.element_rate(i)].max
end
return weakest
end"
end quote
I just have anothervery minor pblm... if anyone knows how to fix it :
All the basic armors got the Non Elemental ele (taged with ele #5)
wearing a non ele stuff makes the player weak to any ele attack so that he takes 125% dmg.
here is my pblm : when actor doesn t wear any armor, he doesn t have the non ele state anymore, and takes 100% dmg from ele attack, instead fo the supposed 125%
that means that wearing no armor makes the player more resistant to ele spells
than to wear a non ele armor, that bring some magic resist... =_____=
how can i set that ele attacks deals +25% to player that didin't equip a top ??
thank you !
i just edit this post cz i ve thought i ve found a script fixing the pblm... but it s not :(
i don't know what s wrong but it s supposed to give the effect i m looking fore ><
quote :
"Unless you want your skills doing extra damage to the enemy because
of their elements, I'd suggest following these instructions. (Special
thanks to PhotonWeapon here, and RPG Advocate)
#--------------------------------------------------------------------------
# ? ???????
# element_set : ??
#--------------------------------------------------------------------------
def elements_correct(element_set)
elements = element_set.clone
elements.delete(18)
elements.delete(17) #Whenever you get a new element that you don't
# ?????? want to count as an element, just add to
if element_set == [] to the elements.delete list. (Also, you
# 100 ??? might want to replace the 18 and 17, eh?)
return 100
end
# ???????????????????
# ????? element_rate ?????????????? Game_Actor
# ??? Game_Enemy ?????????
weakest = -100
for i in element_set
weakest = [weakest, self.element_rate(i)].max
end
return weakest
end"
end quote
I just have anothervery minor pblm... if anyone knows how to fix it :
All the basic armors got the Non Elemental ele (taged with ele #5)
wearing a non ele stuff makes the player weak to any ele attack so that he takes 125% dmg.
here is my pblm : when actor doesn t wear any armor, he doesn t have the non ele state anymore, and takes 100% dmg from ele attack, instead fo the supposed 125%
that means that wearing no armor makes the player more resistant to ele spells
than to wear a non ele armor, that bring some magic resist... =_____=
how can i set that ele attacks deals +25% to player that didin't equip a top ??
thank you !