Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Luz

Is this weapon possible?

Question

I'm wondering if there is a way to make a weapon that will damage an enemy but also the weapons wielder at the same time. I want to make a weapon that will do a good amount of damage to an opponent but also consume 10% of the users HP each turn, or possibly inflict a poison effect if the 10% thing isn't possible. So, can this be done and if so how?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Step 1 step1d.png Make a new state. Note that it doesn't actually have to do anything. Just make sure that in the same turn that it is inflicted it has a 100 percent chance of recovery.

 

Step 2step2rb.png Make a weapon that deals the state you have just added.

 

Step 3 Common Event step3r.png Set a conditional branch so that when your actor has the weapon equipped Make a switch turn on under it.

 

Step 4 Battle Event Condition Switch u made in Step 3 step4ps.pngSet the state for each possible enemy actor in the same list of pages. Set it for your state change that you made.

 

Step 5 step5c.pngDeal Damage to actor. Set a constant. If you want your 10 percent damage. Go back to Step 3 and make a variable above everything else that says Actors (whoever) Hp. Then set another variable guess what hope you payed attention in math class. Set it so the variable will be left with only 10 percent. . I'll be nice I guess just set it to multiply by .10 oh wait you cant use decimals xD. To bad so now you have to make another variable and set it to 10. Then you will divide one variable by the other.

 

This should work lemme know. jay.gif

Share this post


Link to post
Share on other sites
  • 0

Sorry if this is a stupid question but how do you do a conditional branch? I'm really new to RMXP (and game makers in general. This is my first project) so things may have to be a bit over explained. I'm using this tutorial site and so far I'm at the animations section of the database tutorial so I haven't learned anything on eventing yet. Maybe I should hold off making this weapon until I'm more familiar with eventing?

Share this post


Link to post
Share on other sites
  • 0

As a start go here

 

Then conditional branch 8th one down on the first page. If you still have any questions let me know.

Share this post


Link to post
Share on other sites
  • 0

Sorry for the necropost but I just moved from New Hampshire to Tennessee so I've been without Internet access for a while and thus had no chance to reply until now.

 

Anyway, my computers charger has broken and so I can't try this out yet (I'm on my sisters iPad) but I'll try it as soon as I get the chance. When that time comes I may have to necropost again if that's not a problem. If It is then I can just reply in a pm.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...