Help - Search - Members - Calendar
Full Version: Poison Damage amount not displayed
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
Shaddow
I've found an issue with the combat system and poison. It will not tell you each round how much damage you took from Poison. I'm not really sure how to change this to make it display, but I found this in Game_Battler:

CODE
  #--------------------------------------------------------------------------
  # * Application of Slip Damage Effects
  #--------------------------------------------------------------------------
  def slip_damage_effect
    if slip_damage? and @hp > 0
      @hp_damage = apply_variance(maxhp / 5, 5)
      @hp_damage = @hp - 1 if @hp_damage >= @hp
      self.hp -= @hp_damage
    end
  end
end


I am wondering if I can add something in here to make it display how much damage is taken each round from poison. A simple numbers pop up on the characters name would be fine, or I'm even willing for a message to display each turn. Any help with this would be greatly appreciated.
diamondandplatinum3
Look up 'sprintf' smile.gif
Shaddow
Err...I'm still quite the noob at this scripting thing, I've found several instances of scriptf, could you be more specific on what I'm looking for?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.