11-26-2009, 01:41 PM
Elements and State characteristics of the enhancements in the slots get added to the ones of the equipment. If that doesn't happen, there is something not working, or the tag-elements are causing it.
Use the following snippet of code to avoid that elements used as tags are included in the elemental damage correction.
where ELEMENTS_TO_IGNORE contains the ids of all the elements used as tags. In the demo they would be all those from 17 to 29.
Use the following snippet of code to avoid that elements used as tags are included in the elemental damage correction.
Code:
class Game_Battler
ELEMENTS_TO_IGNORE=[]
#----------------------------------------------------------------------------
# * Calculating Element Correction
# element_set : element
#----------------------------------------------------------------------------
alias ee_elements_correct elements_correct
def elements_correct(element_set)
return ee_elements_correct(element_set-ELEMENTS_TO_IGNORE)
end
end
where ELEMENTS_TO_IGNORE contains the ids of all the elements used as tags. In the demo they would be all those from 17 to 29.