Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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
   ACBS - Atoa Custom Battle System and TP System zlsl 2 3,793 10-20-2021, 05:09 AM
Last Post: zlsl
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 12,053 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 11,060 08-08-2019, 02:50 PM
Last Post: aeliath
   Atoa Individual Battle Commands Geminil 3 6,264 08-02-2017, 03:17 AM
Last Post: DerVVulfman
   Permanently modifying move speed Keeroh 5 8,639 05-24-2017, 05:47 AM
Last Post: DerVVulfman
  Expiration States with Atoa acbs: error Noctis 5 8,204 02-18-2017, 01:10 AM
Last Post: DerVVulfman
Shocked  Help needed with Atoa's CBS jreagan406 2 5,160 02-16-2017, 12:36 PM
Last Post: jreagan406
   Problems with counteraatack addon of Atoa Custom Battle System Djigit 22 31,798 01-05-2017, 08:05 PM
Last Post: Noctis
   Atoa ACBS HP Regen Skill Lightness 11 12,420 03-11-2016, 10:43 PM
Last Post: Lightness
   Atoa Custom Battle System: Popup when status change Noctis 6 9,282 02-01-2016, 12:52 AM
Last Post: Noctis



Users browsing this thread: