YesNoOk
avatar

DefenceMulSet (SCTRLs) (Read 6260 times)

Started by Ricepigeon, September 15, 2015, 06:31:23 pm
Share this topic:
DefenceMulSet (SCTRLs)
#1  September 15, 2015, 06:31:23 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
Sets the player's defense multiplier. All damage the player takes is scaled by this amount.

Required parameters:
    value = defense_mul (float)
        Specifies the defense multiplier.

Optional parameters:
    none

Notes:
    The LifeAdd controller is not affected by the player's defense multiplier.

Examples:
Code:
; All damage the player takes is reduced to half.
type = DefenceMulSet
value = .5

Additional Notes:
It is important to note that the DefenceMulSet controller is currently bugged in all versions of MUGEN including 1.0. The Defense multiplier of DefenceMulSet will only affect damage taken from the second hit of a combo onward. As a result, all damage taken from the 1st hit of an attack or the first hit of a combo will ignore the effects of DefenceMulSet due to this bug.

Contrary to what the docs state, the value parameter for DefenceMulSet does not multiply the player's defense, but rather scales the amount of damage taken by that amount. For example, a value of 2.0 will cause the player to receive double damage, not half.
Last Edit: September 18, 2015, 02:49:30 pm by Just No Point
Re: DefenceMulSet (SCTRLs)
#2  October 23, 2015, 03:08:09 am
  • ******
    • www.justnopoint.com/