SP Damage help
#13
(02-11-2014, 01:50 PM)Steel Beast 6Beets Wrote: I searched on all the scripts and I couldn't find any misspelling or typo. I tried putting the HP Drain script below these previously mentioned scripts yet the error persisted.....

I found another thing: when copying and pasting the common event call, it gets twisted into this:

Code:
absorb = $game_temp.sp_damage_hook * -1
$scene.active_battler.dvv_sp_damage_p
op = absorb
$scene.active_battler.dvv_sp_damage_p
op=true
$scene.active_battler.sp -= absorb

The codes are just too long for the script window.

There ya go. Too long, they get cut off and VOLIA, your dvv_sp_damage_p

Try using this in your common event:
Code:
absorb = $game_temp.sp_damage_hook * -1
$scene.active_battler.
dvv_sp_damage_pop = absorb
$scene.active_battler.
dvv_sp_damage_pop=true
$scene.active_battler.sp -= absorb
You can have a line break after the period (.)


(02-11-2014, 01:50 PM)Steel Beast 6Beets Wrote: I also noticed you could drain SP from enemies that don't have any SP (The error shows up when trying to add that amount of SP to the character's SP). Perhaps that has something to do with the error?
Er... no. But a sp checking feature could be put into the system:
Code:
# Set hook to damage
    if self.dvv_sp_damage.is_a?(Numeric)
      sp = self.sp - self.dvv_sp_damage
      # Only if SP remaining
      if sp > 0
        $game_temp.sp_damage_hook += self.dvv_sp_damage
      end
    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
}


Messages In This Thread
SP Damage help - by Steel Beast 6Beets - 02-05-2014, 11:02 PM
RE: SP Damage help - by DerVVulfman - 02-09-2014, 04:27 AM
RE: SP Damage help - by Steel Beast 6Beets - 02-09-2014, 11:56 PM
RE: SP Damage help - by DerVVulfman - 02-10-2014, 04:55 AM
RE: SP Damage help - by Steel Beast 6Beets - 02-10-2014, 01:21 PM
RE: SP Damage help - by DerVVulfman - 02-11-2014, 03:55 AM
RE: SP Damage help - by Steel Beast 6Beets - 02-11-2014, 01:50 PM
RE: SP Damage help - by DerVVulfman - 02-12-2014, 04:21 AM
RE: SP Damage help - by Steel Beast 6Beets - 02-12-2014, 01:43 PM
RE: What's up, RMers? - by DerVVulfman - 02-06-2014, 05:02 AM
RE: What's up, RMers? - by Steel Beast 6Beets - 02-06-2014, 01:09 PM
[split] What's up, RMers? - by Steel Beast 6Beets - 02-07-2014, 01:45 PM
RE: What's up, RMers? - by DerVVulfman - 02-08-2014, 04:24 AM
RE: What's up, RMers? - by Steel Beast 6Beets - 02-08-2014, 02:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Damage appears behind bars in battle prioran 3 7,565 08-06-2011, 01:46 AM
Last Post: prioran
   [XP] Damage displayed incorrectly prioran 3 9,123 12-29-2010, 08:13 PM
Last Post: prioran
   Damage Pop VX Help: Syncing Damage Pop With Instant Text Yojimbo 2 5,439 01-22-2010, 09:35 AM
Last Post: Yojimbo
   do damage while un-equiped help!!!!! PLEASE Jparker1984 5 7,591 11-24-2009, 03:00 AM
Last Post: PK8
   Timing problem with damage shown on the screen - Scene Battle mageone 2 6,308 10-20-2009, 06:22 PM
Last Post: mageone



Users browsing this thread: 1 Guest(s)