SP Damage help
#9
Odd... unless you are also using HP absorption. If this is the case, you would need to change the aliases like so:

Code:
# SP Absorbption Skills
# by RPG Advocate


# Sample code used for an 'absorb' common event:
#
#   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


#==============================================================================
# ** Game_Temp
#------------------------------------------------------------------------------
#  This class handles temporary data that is not included with save data.
#  Refer to "$game_temp" for the instance of this class.
#==============================================================================

class Game_Temp
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :sp_damage_hook              # damage hook
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  alias has_sp_initialize initialize
  def initialize
    # Original call
    has_sp_initialize
    # Initialize damage hook
    @sp_damage_hook = 0
  end
end



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

class Game_Battler
  #--------------------------------------------------------------------------
  # * Apply Skill Effects
  #     user  : the one using skills (battler)
  #     skill : skill
  #--------------------------------------------------------------------------
  alias has_sp_skill_effect skill_effect
  def skill_effect(user, skill)
    # Original call
    effective = has_sp_skill_effect(user, skill)
    # Set hook to damage
    if self.dvv_sp_damage.is_a?(Numeric)
      $game_temp.sp_damage_hook += self.dvv_sp_damage
    end
    # End Method
    return effective    
  end
end  
  

  
#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_reader :active_battler
  #--------------------------------------------------------------------------
  # * Frame Update (main phase step 1 : action preparation)
  #--------------------------------------------------------------------------
  alias has_sp_up4s1 update_phase4_step1
  def update_phase4_step1
    # Reset damage hook
    $game_temp.sp_damage_hook = 0
    # Original call
    has_sp_up4s1
  end
end

This would be shown in your editor as:
> SP DAMAGE SCRIPT
> SP ABSORBTION SCRIPT
> SP DAMAGE POP SCRIPT

Oh, I removed the ,dilute=1 as I think it was a leftover piece. It's not referenced anywhere in any other part of the HP absorption system.
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,552 08-06-2011, 01:46 AM
Last Post: prioran
   [XP] Damage displayed incorrectly prioran 3 9,117 12-29-2010, 08:13 PM
Last Post: prioran
   Damage Pop VX Help: Syncing Damage Pop With Instant Text Yojimbo 2 5,428 01-22-2010, 09:35 AM
Last Post: Yojimbo
   do damage while un-equiped help!!!!! PLEASE Jparker1984 5 7,579 11-24-2009, 03:00 AM
Last Post: PK8
   Timing problem with damage shown on the screen - Scene Battle mageone 2 6,300 10-20-2009, 06:22 PM
Last Post: mageone



Users browsing this thread: 2 Guest(s)