The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Code Library => Topic started by: Nero from Lodran on June 29, 2015, 01:22:22 am

Title: Maximum damage -experemental code-
Post by: Nero from Lodran on June 29, 2015, 01:22:22 am
Hello everyone of MFG,for some time i working on this
a way to interrupte infinty combos

damage reduction e maximum damage

Important note:I based this on Veanko Damage reduction codes,just implement the system and make some changes

hows work

damage reduction:self expanable(sorry for my scrap english)this remove a amount of power in your hits
1:.95
2:.9
...
more count here of reduction
...
the last hits
...
23:.1
24:.05

On the hit 25 enter my system(but you can chance the amount depeding how "movehits" you char can do!)

Maximum damage

on the hit 25 the players do the backward dash or any action you want(see -3 section) on the air is the same thing
the others players fall on groung with no damage and give them a second chance to win the game

You can add animations sounds superpauses and etc

turning of for a boss or especific char

(I not tested yet...but);and taken from the original code

[State -2]
Type=VarSet
Trigger1=Roundstate<2
Trigger2=P2Stateno=[120,160]
Trigger3=enemynear,ctrl
Trigger4=P2StateType!=A
Trigger4=P2MoveType!=H
trigger5 = enemynear,name = "Char name"
var(30)=0
ignorehitpause=1

-2
Spoiler, click to toggle visibilty

-3
Spoiler, click to toggle visibilty

anims-the helper
Spoiler, click to toggle visibilty

cns
Spoiler, click to toggle visibilty

For every move you want limitation
Spoiler, click to toggle visibilty

Note:Taken from veanko code,add this before the damage reduction code

credits:veanko for the original codes :) you rock!

i dont know if i can make this open source but is...anyway credit me only for the maximum damage
and credit veanko for the damage reduction

to do:
-improve the code.
-a code for specific states.

fight for freedom!
see ya