:D, Nice script!, mmm no RTAB support this time?..., i changed some @active_battler for 'battler', and some other lines, it works on the RTAB but i am not sure if it is bug free, what do you think?
Content Hidden
PHP Code:
alias mSlots_update_phase4_step6 update_phase4_step6 def update_phase4_step6(battler) # Perform the original call mSlots_update_phase4_step6(battler) # Perform an additional attack if Two-Weapons/Dual Wielding enabled if battler.is_a?(Game_Actor) && battler.dual_wield? && battler.current_action.kind == 0 && battler.current_action.basic == 0 # Cycle through attacks loop { battler.attack_count += 1 if battler.attack_count == 2 || battler.weapon_id(battler.attack_count) > 0 break end } # If the attack count reaches total attacks if battler.attack_count == 2 # Reset the attack count system battler.attack_count = 0 else # Unless dead unless judge # Change target if original is unavailable if battler.target[0].dead? if battler.restriction == 3 battler.target[0] = $game_party.random_target_actor else battler.target[0] = $game_troop.random_target_enemy end end # Shift to step 2 if @action_battlers.include?(@active_battler) == false @action_battlers.push(battler) end battler.phase = 2 end end else # Reset attack count battler.attack_count = 0 if battler.is_a?(Game_Actor) end end
BTW, i remember a shop script you made for this, will you make it compatible with this new script?