Fakula Posted April 25, 2020 Share Posted April 25, 2020 (edited) Hi Guys,Im new with skyrim Modding :smile:I want to create a magical effekt that 0) decreases the Players Maximal health, but start with 0 negative healt (not aplied at all)1) Becomes aplied if the player got incomming damage.2) Increases with 25% of the incomming damage.3) Void if the player sleept for 8 hours. My questions:are there a "howot papyrus language" guide?how can i create a magical effekt that decreases the players max healt?How can my script see how much damage the player got?My toughts:I think the system from "Dragons dogma" is really awesome.Every incoming damage leaves behind a 25% incurable health damage.This gives the opportunity to make the fights more tactical.More life points, but at the same time an increased need to avoid the damage.Not "oh, I can safely ignore the traps, I can heal the damage easily", but a "can I afford to get the damage here, or will it fall on my feet later?"Anyway:My train of thought:1) Giving the player a magical effect that reduces maximum health by 0.2) Get the player's current life points.3) In the case of the "on hit" event, query the player's life points4) The magic effect (from 1) now increases by 25% of this damage.Ways to reduce this debuff:1) The player sleeps 8 hours, the debuff is reset to 0.Advanced options that can be difficult to implement:1) Player drinks a potion. -> If the potion is stronger than the maximum HP, the debuff will be reduced so far. Edited April 29, 2020 by Fakula Link to comment Share on other sites More sharing options...
Recommended Posts