I actually made a mistake. The script by itself does actually apply the element set of the "enhancement". The problem I'm currently facing is finding out where the setting actually takes place.
I was putting prints for @element_set in Enhanced_Weapon#element_set. If your enhancement gave Fire (ID 1) and you equip it to your sword, the sword's @element_set will now include a 1 in the array. But I don't see anything in the script that does
@element_set =
or
.element_set =
to make this change. This only occurs when you initialize the Enhanced_Weapon
@element_set = $data_weapons[@ref_id].element_set
But I put a print statement above that line and it was never called when I attached the Fire accessory.
So I'm still at a loss as to what is going on. For one of Charlie Fleed's scripts, this is pretty bad.
EDIT: Okay I finally figured out what he's doing, but it's a terrible way to do it. In fact, a lot of the decisions he made I do not agree with at all. Can't say I can find a solution to this, but I'll try something...
Okay yep:
def element_set
result=@element_set.clone
Make that change and give it a shot.