Witcher script annotation support added. Thanks to 01DarkLord04. Now it's fully compatible with all known mods. Instead of complicated instructions, now you are more comfortable when merging with other mods. Please download the latest version and completely remove the previous version and install the fresh one.
So don't forget to you need to update your game to the latest version 4.04a REDkit Update 2 patch, with supports a number of annotations.
Such an amazing concept. This should be incorporated into more games. People tend to deal less damage the more hurt they are... Who woulda thought? So obvious, simple, and ingenious. Great work!
Hi Arkwulf, hvala za mod, podrska od brace iz Srbije! XD If i may ask, are all changes of this mod have included // tags (comments)? I would like to try port those to a Old Gen by comparing them in Notepad ++, since there is a single script should't be hard?
My wild guess is this is the only change
//modLessVitalityLessDamage Startif( playerAttacker && actorVictim && thePlayer.GetStatPercents(BCS_Vitality) < 0.80 && 0.40 < thePlayer.GetStatPercents(BCS_Vitality) )/* This "if" applies to geralt when he is between 80%-40% of vitality. */{ for(i=0; i<dmgInfos.Size(); i+=1) /* Don't change */{dmgInfos[i].dmgVal = (1.30 * dmgInfos[i].dmgVal) * playerAttacker.GetStatPercents(BCS_Vitality); /* Change "1.30" multiplier to tweak amount of dmg lost from vitality.*/}}if( playerAttacker && actorVictim && thePlayer.GetStatPercents(BCS_Vitality) < 0.40 && 0.20 < thePlayer.GetStatPercents(BCS_Vitality) )/* This "if" applies to geralt when he is between 40%-20% of vitality. */{for(i=0; i<dmgInfos.Size(); i+=1) /* Don't change */{ dmgInfos[i].dmgVal = (1.45 * dmgInfos[i].dmgVal) * playerAttacker.GetStatPercents(BCS_Vitality); /* Change "1.45" multiplier to tweak amount of dmg lost from vitality. */}}if( playerAttacker && actorVictim && thePlayer.GetStatPercents(BCS_Vitality) < 0.20 && 0.00 < thePlayer.GetStatPercents(BCS_Vitality) )/* This "if" applies to geralt when he is between 20%-0% of vitality. */{for(i=0; i<dmgInfos.Size(); i+=1) /* Don't change */{dmgInfos[i].dmgVal = (2.4 * dmgInfos[i].dmgVal) * playerAttacker.GetStatPercents(BCS_Vitality); /* Change "2.4" multiplier to tweak amount of dmg lost from vitality. */}}//modLessVitalityLessDamage End
11 comments
Witcher script annotation support added. Thanks to 01DarkLord04. Now it's fully compatible with all known mods. Instead of complicated instructions, now you are more comfortable when merging with other mods. Please download the latest version and completely remove the previous version and install the fresh one.
So don't forget to you need to update your game to the latest version 4.04a REDkit Update 2 patch, with supports a number of annotations.
Good luck on the Path!
Thanks, glad you enjoy it. Enjoy the game and good luck on the Path!
Thanks, glad you enjoy it.
P.S. Best wishes for a happy New Year!
If i may ask, are all changes of this mod have included // tags (comments)?
I would like to try port those to a Old Gen by comparing them in Notepad ++, since there is a single script should't be hard?
My wild guess is this is the only change
//modLessVitalityLessDamage Start
if( playerAttacker && actorVictim && thePlayer.GetStatPercents(BCS_Vitality) < 0.80 && 0.40 < thePlayer.GetStatPercents(BCS_Vitality) )/* This "if" applies to geralt when he is between 80%-40% of vitality. */
{
for(i=0; i<dmgInfos.Size(); i+=1) /* Don't change */
{
dmgInfos[i].dmgVal = (1.30 * dmgInfos[i].dmgVal) * playerAttacker.GetStatPercents(BCS_Vitality); /* Change "1.30" multiplier to tweak amount of dmg lost from vitality.*/
}
}
if( playerAttacker && actorVictim && thePlayer.GetStatPercents(BCS_Vitality) < 0.40 && 0.20 < thePlayer.GetStatPercents(BCS_Vitality) )/* This "if" applies to geralt when he is between 40%-20% of vitality. */
{
for(i=0; i<dmgInfos.Size(); i+=1) /* Don't change */
{
dmgInfos[i].dmgVal = (1.45 * dmgInfos[i].dmgVal) * playerAttacker.GetStatPercents(BCS_Vitality); /* Change "1.45" multiplier to tweak amount of dmg lost from vitality. */
}
}
if( playerAttacker && actorVictim && thePlayer.GetStatPercents(BCS_Vitality) < 0.20 && 0.00 < thePlayer.GetStatPercents(BCS_Vitality) )/* This "if" applies to geralt when he is between 20%-0% of vitality. */
{
for(i=0; i<dmgInfos.Size(); i+=1) /* Don't change */
{
dmgInfos[i].dmgVal = (2.4 * dmgInfos[i].dmgVal) * playerAttacker.GetStatPercents(BCS_Vitality); /* Change "2.4" multiplier to tweak amount of dmg lost from vitality. */
}
}
//modLessVitalityLessDamage End
Thank you for your kind words and glad you like it!
P.S. Best wishes for a happy New Year! Срби и Руси браћа заувек!
С Новым годом, братан, и всего наилучшего в нем!
Thank you, too. I'm glad you like it.
P.S. Best wishes for a happy New Year!