Jump to content

[Script]Get damaged received by an actor


projecttemp

Recommended Posts

Hi, i am currently trying to build a mod, but i kind of run into a snap.

 

Is there a function(that is hidden or not listed) that can get the amount of damage an actor received(after all reduction, the actual amount subtracted from actor's health).

Basically i have an magic effect with script attached to it. This script check the OnHit event and then take the damage the actor received(after all the reduction and stuff, like actual health they lost).


Then i want to add this amount to his health and max health(or is there another way to negate damage without negating the damage receive value to 0)
and then deal 20% of that as stamina damage to actor.

Edited by projecttemp
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...