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
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 62 Yesterday, 03:09 AM
Last Post: JayRay
   GW Animated Battle backs Patch for Atoa ACBS Solitaire 21 1,430 10-17-2024, 06:37 AM
Last Post: Solitaire
   Atoa ACBS, Equipment Set Add-on Error Solitaire 10 821 10-13-2024, 11:41 PM
Last Post: Solitaire
   The z-space problem of displaying sprites icogil 28 12,627 03-05-2023, 03:31 AM
Last Post: DerVVulfman
   ACBS - Atoa Custom Battle System and TP System zlsl 2 4,567 10-20-2021, 05:09 AM
Last Post: zlsl
   Script compatibility help Lord Vectra 3 4,602 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 15,839 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 16,151 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 16,438 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 13,884 11-11-2019, 08:55 PM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)