Dung, Here is what you will need to make that script compatible with mine. The problem is that that script replaces the weapon_id for the character with a new id that is greater than the number of all current weapons in the system and progresses that number for every time a new "enhanced weapon" is created. As the enhanced weapons dont apply to enemies they shouldnt have a problem.
Here is the integration piece. Just place it in another script below everything else, or replace this section of the -Game_Actor- modifications already performed by my system and it should work as you were expecting.
I have already added this code to the next release. So it will be there when the update is released.
Luvva,
I am not sure why the attack would be stopping the method says to process and continue doing so until all members of the "targets" have been processed. You can review the code yourself if you want, but from what I can tell and in my testing it would still carry on for all other targets even if the actor was killed. I even added a clause at the end to ensure that they dont gain exp at the end of it if they died. (Its tbs_phase_9 where all the attacks are carried out)
Here is the integration piece. Just place it in another script below everything else, or replace this section of the -Game_Actor- modifications already performed by my system and it should work as you were expecting.
Code:
class Game_Actor < Game_Battler
def weapon_range
weapon = $data_weapons[@weapon_id]
if weapon.is_a?(Enhanced_Weapon)
return GTBS.w_range(weapon.ref_id)
else
return GTBS.w_range(@weapon_id)
end
end
end
I have already added this code to the next release. So it will be there when the update is released.
Luvva,
I am not sure why the attack would be stopping the method says to process and continue doing so until all members of the "targets" have been processed. You can review the code yourself if you want, but from what I can tell and in my testing it would still carry on for all other targets even if the actor was killed. I even added a clause at the end to ensure that they dont gain exp at the end of it if they died. (Its tbs_phase_9 where all the attacks are carried out)