Jump to content
  • 0

Damage resistance in certain characters


Ridley "MOTHERF_____"

Question

3 answers to this question

Recommended Posts

  • 0

For example, how to make my Samus`s plasma beam (helper projectile) deal 75% less damage than it should do to Ridley without having to edit him?

 

Assumming you're not using simul mode.

Let's say the damage in your hitdefs is like this:

 

damage = X,Y

 

change it into this

 

damage = ceil(X*ifelse(enemynear,name="ridley's name",.25,1)),ceil(Y*ifelse(enemynear,name="ridley's name",.25,1))

 

I'm sure there's better ways to achieve this (target redirection perhaps) but they wouldn't work for the first hit

Link to comment
Share on other sites

  • 0

Assumming you're not using simul mode.

Let's say the damage in your hitdefs is like this:

 

damage = X,Y

 

change it into this

 

damage = ceil(X*ifelse(enemynear,name="ridley's name",.25,1)),ceil(Y*ifelse(enemynear,name="ridley's name",.25,1))

 

I'm sure there's better ways to achieve this (target redirection perhaps) but they wouldn't work for the first hit

I will try to use it. By the way, would target,name="Ridley" work too? Thanks anyway for the help. I will solve this topic if this works.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...