TerraMcCloud Posted May 6, 2014 Share Posted May 6, 2014 Im sure this is doable, but me being a scripting newb, I dont know how to do it. Im thinking of making 2 rings, one that gives a 50% shield effect when the player's health is 20% or lower, and another that fortifies strength by 40 when at 20% health or lower. I'll try to figure it out on my own, but if anyone can assist that would be nice. Link to comment Share on other sites More sharing options...
Owrocc Posted May 9, 2014 Share Posted May 9, 2014 Sorry if this doesn't work, I'm on my phone right now and just saw this question unanswered for 2 days... float var1float var2ref target begin scripteffectstartset target to getselfset var1 to target.getactorvalue healthset var2 to target.getbaseactorvalue healthif var1/var2>=0.5target.addspell spellrefendifend Link to comment Share on other sites More sharing options...
kastano Posted May 10, 2014 Share Posted May 10, 2014 (edited) sth quick not testede (pretty the same with the above) ScriptName yourquestscriptshort healthPLbegin gamemodeset HealthPL to (player.GetAV Health / player.GetBaseAV Health * 100)if HealthPL <= 20 && player.isequiped yourring == 0player.additem yourring 1player.additem yourring2 1player.equipitem yourringplayer.equipitem yourring2 elseif (HealthPL > 40 && player.isequiped yourring ==1) player.removeitem yourring 1player.removeitem yourring2 1endifend You have to attach this to a quest you can put a condition likeif player.isincombat ; or andif player.isweaponoutmaybe a timerset Timer to Timer + getSecondsPassed Edited May 10, 2014 by kastano Link to comment Share on other sites More sharing options...
Recommended Posts