Domhnall Posted August 6, 2009 Share Posted August 6, 2009 This script is to look at a character's Restoration Skill %, and then heal a # based on it. The script: Scriptname DJ_RBH begin ScriptEffectStart short Base short Restore float Percent set Percent to ( Player.GetAV Restoration ) * 0.003 set Base to GetBaseActorValue Health set Restore to (( Base * Percent ) + GetAV Health ) If Restore < Base ForceAV Health Restore Elseif Restore >= Base ForceAV Health Base endif end The healing works, but then it will put the current hit points over the character's maximum hit points. Anyone know the cure to this? Thanks. Link to comment Share on other sites More sharing options...
Domhnall Posted August 12, 2009 Author Share Posted August 12, 2009 :whistling: Link to comment Share on other sites More sharing options...
Recommended Posts