YesNoOk
avatar

More attack damage, less self damage problem (Read 347 times)

Started by tehdevil, May 29, 2010, 10:01:19 am
Share this topic:
More attack damage, less self damage problem
#1  May 29, 2010, 10:01:19 am
  • ****
Hi, I have problems with a few boss characters, I notice that some characters like Ahuron's Johann, Fxm508's boss characters Rugal, Goenitz96 and 98um are overpowered in sense of damage attack on their opponent, the damage is too high and when opponent attack them, their damage are too little. I manage to fix the self damage problem by modifying the cns file, defense = 300 to defense = 100, I can't manage to fix fxm508's Rugal2nd's defense. Does anyone knows how do I fix the attack opponent's high damage problem and Rugal2nd's problem?

Fxm508's creations: http://fxm508.web.fc2.com/
Ahuron's Johann: http://mugen-easy.hp.infoseek.co.jp/
Re: More attack damage, less self damage problem
#2  May 29, 2010, 10:29:05 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
have a look for defencemulset It's also possible he's amped the life up rather than altering defence.


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: More attack damage, less self damage problem
New #3  June 02, 2010, 05:34:11 am
  • ****
These are the codes that have defencemulset:
Code:
[State -2, DefenceMulSet]
type = DefenceMulSet
triggerall = fvar(29) != 4 && !fvar(26)
triggerall = !fvar(28)
trigger1 = 1
value = 2
ignorehitpause = 1

[State -2, DefenceMulSet]
type = LifeAdd
triggerall = fvar(29) != 4 && !fvar(26)
triggerall = !fvar(28)
triggerall = !(PrevStateNo = [5000,5300])
triggerall = !(StateNo = [120,160))
trigger1 = GetHitVar(hitcount) = 1
trigger1 = GetHitVar(damage) > 0
value = -Floor(GetHitVar(damage)*(2-1))
absolute = 1
ignorehitpause = 1

[State -2, DefenceMulSet]
type = DefenceMulSet
triggerall = fvar(29) = 1 && !fvar(26)
triggerall = fvar(28)
trigger1 = 1
value = 1.5
ignorehitpause = 1

[State -2, DefenceMulSet]
type = LifeAdd
triggerall = fvar(29) = 1 && !fvar(26)
triggerall = fvar(28)
triggerall = !(PrevStateNo = [5000,5300])
triggerall = !(StateNo = [120,160))
trigger1 = GetHitVar(hitcount) = 1
trigger1 = GetHitVar(damage) > 0
value = -Floor(GetHitVar(damage)*(1.5-1))
absolute = 1
ignorehitpause = 1

[State -2, DefenceMulSet]
type = DefenceMulSet
triggerall = fvar(29) = 4
triggerall = !fvar(28)
trigger1 = 1
value = 4
ignorehitpause = 1

[State -2, DefenceMulSet]
type = LifeAdd
triggerall = fvar(29) = 4
triggerall = !fvar(28)
triggerall = !(PrevStateNo = [5000,5300])
triggerall = !(StateNo = [120,160))
trigger1 = GetHitVar(hitcount) = 1
trigger1 = GetHitVar(damage) > 0
value = -Floor(GetHitVar(damage)*(4-1))
absolute = 1
ignorehitpause = 1

[State -2, DefenceMulSet]
type = DefenceMulSet
triggerall = fvar(29) = 1 && fvar(26)
triggerall = !fvar(28)
trigger1 = 1
value = 3
ignorehitpause = 1

[State -2, DefenceMulSet]
type = LifeAdd
triggerall = fvar(29) = 1 && fvar(26)
triggerall = !fvar(28)
triggerall = !(PrevStateNo = [5000,5300])
triggerall = !(StateNo = [120,160))
trigger1 = GetHitVar(hitcount) = 1
trigger1 = GetHitVar(damage) > 0
value = -Floor(GetHitVar(damage)*(3-1))
absolute = 1
ignorehitpause = 1
But I manage to get another way to solve the problem, In his cns file,  these two codes:
Code:
[State -2, BossMode(Player)]
type = varset
triggerall = !var(59)
trigger1 = 1
fvar(28) = 0;(1:on/0:off)
ignorehitpause = 1

[State -2, BossMode(AI)]
type = varset
trigger1 = var(59)
fvar(28) = 1;(1:on/0:off)
ignorehitpause = 1

I change it to this:
Code:
[State -2, BossMode(Player)]
type = varset
triggerall = !var(59)
trigger1 = 1
fvar(28) = 1;(1:on/0:off)
ignorehitpause = 1

[State -2, BossMode(AI)]
type = varset
trigger1 = var(59)
fvar(28) = 0;(1:on/0:off)
ignorehitpause = 1

and also this:
Code:
[Data]
life = 1000
attack = 100
defence = 300;(Default:300)
I change attack to 50 and defence to 150, it works well after I tested ;)
Last Edit: June 02, 2010, 05:54:21 am by devilgenemugen