The Most EPIC Request. [This time on TUTORIAL!!]

Started by Kyo, May 17, 2009, 09:25:36 am

Previous topic - Next topic

Kyo

Well , i dunno if this thing should go on script request OR tutorial request so here it goes.

I request for a Max Limit attack tutorial .
I want to learn few way's of scripting so i think this will be really easy.

The max limit i want for my attack? Just 9999 , i once search at rmxp.org. I search "9999 damage" it come out 9999 sp , hp 9999 and other stuff i don't want to mention.So please handsome guys and pretty girls , teach me how T_T (probably show).

Aqua

Your topic titles are /soooo/ boring and inaccurate...  :roll:

Game_battler 3 Line 82~ish... should be...

      # Substract damage from HP
      self.hp -= self.damage
      # State change
      @state_changed = false
      states_plus(attacker.plus_state_set)
      states_minus(attacker.minus_state_set)


Add this line...
      # Substract damage from HP
      self.damage = 9999 if self.damage > 9999
      self.hp -= self.damage
      # State change
      @state_changed = false
      states_plus(attacker.plus_state_set)
      states_minus(attacker.minus_state_set)


Lol didn't test it... but should work... =3

If not... try splitting that extra line into

if self.damage > 9999
self.damage = 9999
end

Kyo

just want to pull some people in to read lol  :roll: