Hi, I get error NoMethodError, undefined method for " /" for nil:NilClass when an enemy attacks me with an attack that has the 10th element listed in the database. The error occurs at line 1036 of Emerald's Equipment Sets. Specifically, the block of code that has the error is:
alias eme_ebs_element_rate element_rate
def element_rate(element_id)
value = eme_ebs_element_rate(element_id) + sets_element_rate(element_id) / 100
return value
end
The value = eme_ebs_element_rate ... line is where the error occurs. I am betting it has something to do with the numbering of the element in the database. Elements 11 and so on also cause the error. Any help?
I have no scripting knowledge, so I have no idea what to do lol
I should also add that the error also occurs when my characters are not even wearing any equipment, so I don't think it's a problem with the equipment, since this script deals with equipment sets.
alias eme_ebs_element_rate element_rate
def element_rate(element_id)
value = eme_ebs_element_rate(element_id) + sets_element_rate(element_id) / 100
return value
end
The value = eme_ebs_element_rate ... line is where the error occurs. I am betting it has something to do with the numbering of the element in the database. Elements 11 and so on also cause the error. Any help?
I have no scripting knowledge, so I have no idea what to do lol
I should also add that the error also occurs when my characters are not even wearing any equipment, so I don't think it's a problem with the equipment, since this script deals with equipment sets.