Jump to content
Illuminati3301

[SOLVED] Need help with a state that converts incoming damage into HP

Recommended Posts

Hello!

I wanted to make a state which turns incoming damage into HP. That is, if your actor had the state applied, and the enemy used an attack which deals 100 damage on that actor, instead of losing 100 HP your actor would gain HP (I wanted to make it to be 50% of the incoming damage, so he would gain 50 HP in this case).

I tried to figure it out by myself, but to no avail. So if someone was kind enough to help me out with this, that would be really, greatly appreciated :)

Edited by Illuminati3301
status update

Share this post


Link to post
Share on other sites

How come? You can just add

 

<convert hp physical: +100%>
<convert hp magical: +100%>

To the state notetags and it should work.

EDIT: Nvm, I see what u mean lol

Edited by Lord Vectra

Share this post


Link to post
Share on other sites
7 hours ago, Lord Vectra said:

How come? You can just add

 


<convert hp physical: +100%>

<convert hp magical: +100%>

To the state notetags and it should work.

EDIT: Nvm, I see what u mean lol

Good news! 

I've managed to make it work using Alistair's Mana Shield script.

Once again, thanks for taking your time to try to help me (:

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.

×
Top ArrowTop Arrow Highlighted