Jump to content
Tyseus

Skill that inflicts more damage if target is buffed

Recommended Posts

Hello there! I got yet another, unanswered question.

I'd like to have a skill that inflicts more damage if the target has a buff. Any buff.

How do I check if b is overall buffed?

Share this post


Link to post
Share on other sites

That's correct if I want to check a single buff on a specific stat.

I found out myslef however. The answer was: 

 

[x].any? {|param_id| b.buff?(param_id)}?

 

Where "x" is the id of the stats I want checked. (In my case it was 2,3,4,5,6 which are ATK DEF MAT MDF and AGI).

Answered with the solution in case anyone looks for it.

Thanks anyway, Phoenix :)

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.

×