wicloud Posted January 28, 2017 Posted January 28, 2017 Revival Code plus effects So i came by this section and noticed no one had posted anything so i decided...hey why don't i give it a try? The more codes shared the more codes known! So this is a revival code, however it only works 60% of the time I've limited it to only give back 500 health and only do it once. [State -2] Type=Assertspecial trigger1=var(21)<1 trigger1=P2Life !=0 Flag=NoKo PauseMoveTime=9999 SuperMoveTime=9999 ignorehitpause=1 time=100 [State -2] Type=NotHitBy trigger1=life=0 value= SCA [State -2] Type=SelfState Trigger1=Life=0 Trigger1=StateNo!=7500 Trigger1=var(21)<1 Value=7500 PauseMoveTime=9999 SuperMoveTime=9999 ignorehitpause=1 [Statedef 7500] type = S movetype = A physics = S velset = 0,0 ctrl = 0 anim = 7500 [State 7500] Type=VarAdd trigger1=time=0 v=21 value=1 <----i may be wrong but this might be how many times you revive, keep it 1 unless your berserker from Fate Stay Night PauseMoveTime=9999 SuperMoveTime=9999 ignorehitpause=1 [State 7500] Type=Lifeadd Triggerall = life<500 <---------edit this for health amount Value=25 Trigger1=1 PauseMoveTime=9999 SuperMoveTime=9999 ignorehitpause=1 [State 7500] type = Pause trigger1 = time = 0 time = 100 movetime = 100 PauseMoveTime=9999 SuperMoveTime=9999 ignorehitpause=1 [State 7500] Type=ChangeState Trigger1= time>100 Value = 50 PauseMoveTime=9999 <--------------pausing time is necessary if you don't you'll be hit out of revival and die anyways SuperMoveTime=9999 ignorehitpause=1 [State 7500, Spark] type = Explod trigger1 = time = 25 anim = 9200 <-------choose a hitspark or another animation to play when the character dies. I would not suggest anything longer than 60 ticks. pos = 0, 3 <-----------position where said hitspark or animation should be postype = p1 removetime = 60 This is a fairly useful code and i'd recommend messing around with it just keep the revival part the same however, This code can't work if the character using it is grabbed and forced into a custom state from p2. Reason why is simple, although the code will try to trigger a noKO, it can't due to some grabs or even certain attacks triggering a KO flag on their hitflag, simply meaning priority will take effect P2's KO hitflag will go off first, the revival will STILL go off but P2's KO flag had done went off which tells mugen it's dead. Ori-Ori 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now