Problem with drain script form the ATOA ACBS
#2
You're right. There is an error in the script. It uses base_absorb to hold the amount of damage that is initially inflicted on the target, which is fine by me. But the script attempts to check how much damage the target suffers before the damage is even applied. Ow. No damage inflicted, no value pushed into base_absorb.

Lines 75-79 read as
Code:
alias step4_part1_drain step4_part1
  def step4_part1(battler)
    step4_part1_drain(battler)
    set_drain_damage(battler)
  end

Change them to
Code:
alias step4_part2_drain step4_part2
  def step4_part2(battler)
    step4_part2_drain(battler)
    set_drain_damage(battler)
  end
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: Problem with drain script form the ATOA ACBS - by DerVVulfman - 07-12-2015, 08:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Lead Actor Swapper script error Ace_V 25 1,797 09-07-2025, 01:22 PM
Last Post: DerVVulfman
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 2,896 11-22-2024, 07:02 PM
Last Post: JayRay
   GW Animated Battle backs Patch for Atoa ACBS Solitaire 21 12,464 10-17-2024, 06:37 AM
Last Post: Solitaire
   Atoa ACBS, Equipment Set Add-on Error Solitaire 10 6,011 10-13-2024, 11:41 PM
Last Post: Solitaire
   The z-space problem of displaying sprites icogil 28 25,239 03-05-2023, 03:31 AM
Last Post: DerVVulfman
   ACBS - Atoa Custom Battle System and TP System zlsl 2 6,913 10-20-2021, 05:09 AM
Last Post: zlsl
   Script compatibility help Lord Vectra 3 7,171 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 22,563 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 21,801 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 21,771 12-10-2019, 11:10 AM
Last Post: Fenriswolf



Users browsing this thread: