Jump to content
Sign in to follow this  
lonequeso

Drain HP every turn

Recommended Posts

Okay. So what I'm looking for is a method to apply state that drains an enemies HP every turn AND

gives it to the character that applied the state.

 

Only one character can use the skill in question as well as apply the state. If possible, I'd want to make this work w/out a script, but if that's not possible, I guess I have no choice.

 

Any ideas?

Share this post


Link to post
Share on other sites

It depends.

 

Are you looking for a % of their health or would a flat amount do?

Share this post


Link to post
Share on other sites

Ideally, a percentage. If flat amount is the only feasible way to do it, I'll make it work.

Share this post


Link to post
Share on other sites

Well, my idea was to layer conditional branches and then alter the enemies and actor's HP. For example:

 

Enemy 1 has state: enemy loses 50HP, actor gains 50HP

Enemies 1 and 2 has state: enemy 1 loses 50HP, Enemy 2 loses 50HP, actor gains 100HP

 

The only real problem with this one is that you'd have to create the event for every encounter.

 

pzFh3qq.png

Edited by HeckHound

Share this post


Link to post
Share on other sites

Lol. I had that idea, too. Waaay too much work for one skill in the game. I'm thinking it's going to require a script if it can be done at all.

 

That being said, can an Admin please move this to Script Requests? 

Share this post


Link to post
Share on other sites

I'll have to look into that. Reading code is like trying to read Sanskrit  to me. If it involves any actual coding on my part...

*lonqueso's head explodes* 

Share this post


Link to post
Share on other sites

Okay. I actually got some outside help on this. It can be closed now. Before that is done, let it be known that Nataxinus is awesome!

 

Also, give him 1,000 likes on my behalf.

Share this post


Link to post
Share on other sites

Closing as solved and duly noted. :)

  • Like 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted