Atoa ACBS Target move wrong after move to center
#4
The problem wasn't that the actor attempted to escape, but was attempting to attack itself. The system that made the character move in this manner attempted to move the battler 16 pixels in a given location to a target, but unfortunately, it WAS the target. As such, you had a sliding effect.

Code:
#==============================================================================
# ** Atoa Custom Battle System Repair Patch:  Self Target Movement Fix
#    by DerVVulfman
#    August 3, 2014
#    RGSS
#
#------------------------------------------------------------------------------
#  This patch prevents  an accidental forced  '16 pixel slide'  when a battler
#  has itself targeted and is attempting to move-to-target.
#
#  Merely paste this script below the "ACBS | Scene Battle 4" script, the last
#  script in his battlesystem.   No other known add-ons alter the method being
#  repaired, so no conflicts should appear.
#
#  Thanks to Djigit for noticing an issue with the ACBS system by Victor Sant.
#==============================================================================


#==============================================================================
# ** Game_Battler
#------------------------------------------------------------------------------
#  This class deals with battlers. It's used as a superclass for the Game_Actor
#  and Game_Enemy classes.
#==============================================================================

class Game_Battler
  #--------------------------------------------------------------------------
  # * Alias Listings
  #--------------------------------------------------------------------------  
  alias dvv_repair_game_battler_action_one_target action_one_target
  #--------------------------------------------------------------------------
  # * Set move to target
  #--------------------------------------------------------------------------
  def action_one_target
    @target_battlers.flatten!       # Change into one single array list
    target = @target_battlers[0]    # Obtain 1st battler in array
    return if target.nil?           # Exit method if no target
    return if target == self        # Exit method if target is self
    # Perform the original call
    dvv_repair_game_battler_action_one_target
  end
end

Paste it right below the original battlesystem and above the add-ons, and you can rest in peaches. :)))
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
RE: Atoa ACBS Target move wrong after move to center - by DerVVulfman - 08-03-2014, 11:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   GW Animated Battle backs Patch for Atoa ACBS Solitaire 21 1,215 10-17-2024, 06:37 AM
Last Post: Solitaire
   Atoa ACBS, Equipment Set Add-on Error Solitaire 10 690 10-13-2024, 11:41 PM
Last Post: Solitaire
   ACBS - Atoa Custom Battle System and TP System zlsl 2 4,515 10-20-2021, 05:09 AM
Last Post: zlsl
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 13,747 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 12,598 08-08-2019, 02:50 PM
Last Post: aeliath
   Atoa Individual Battle Commands Geminil 3 6,915 08-02-2017, 03:17 AM
Last Post: DerVVulfman
   Permanently modifying move speed Keeroh 5 9,547 05-24-2017, 05:47 AM
Last Post: DerVVulfman
  Expiration States with Atoa acbs: error Noctis 5 9,190 02-18-2017, 01:10 AM
Last Post: DerVVulfman
Shocked  Help needed with Atoa's CBS jreagan406 2 5,723 02-16-2017, 12:36 PM
Last Post: jreagan406
   Problems with counteraatack addon of Atoa Custom Battle System Djigit 22 35,190 01-05-2017, 08:05 PM
Last Post: Noctis



Users browsing this thread: 1 Guest(s)