YesNoOk
avatar

lifeadd help (Read 445 times)

Started by vortex35, January 11, 2008, 01:21:00 am
Share this topic:
lifeadd help
#1  January 11, 2008, 01:21:00 am
  • **
  • Everyone has darkness,Fight it or EMBRACE it
I've been making some private edits on a character and im trying to add the life regen code however going through some of the documents I can't seem to find where it is  :'(  so im asking for help




this is the code I have:

[State 0,lifeadd]
type = LifeAdd
trigger1 = palno = 1
trigger1 = stateno = 0
trigger1 = life = < lifemax / 2
value = 100
;ignorehitpause = 1
persistent = 10

if anyone could help plz do  ;D or if you could locate in the documents where I could help myself that would be fine as well
Re: lifeadd help
#2  January 11, 2008, 02:01:30 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
you need to put that into state 0.It's not going to work anywhere else. If you choose to use state -2 instead the line persistent = 10 will not work. You will have to use trigger1 = gametime%10 = 0 instead.

In addition, 100?!?! Most characters do that much damage with a special move. Are you aware that your piece of code will regenerate 600 hp per second? That is (normally) over half a lifebar. You might wanna tone it down or you'll have a pretty unkillable character on hand.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: lifeadd help
#3  January 11, 2008, 02:19:01 am
  • **
  • Everyone has darkness,Fight it or EMBRACE it
Thx will do also I forgot to change i put it at 100 to test it out to see if it would actually work lol but thx for the help