i'm BRANDNEW to nwn forums and all this jazz
'>
okey, as you can see in topic i'm not satisfied with the nwn vampiric regen offer us
'>, how
can i, firstly i guess, get this script to work, and then put it on
specefic weapons
void main()
{
int DamageHeal = (int GetDamageDealtByType(DAMAGE_TYPE_BASE_WERAPON) / 20 * 1);
string Output = ("You stole "+IntToString(DamageHeal)+" life.");
if (DamageHeal > 0)
{
EffectDamage(DamageHeal,DAMAGE_TYPE_BASE_WERAPON,DAMAGE_POWER_PLUS_FIFTEEN);
EffectHeal(DamageHeal);
//Console.WriteLine(Output)... something that will give feedback in combat log of what happened
'> ?
}
}
Modifié par KiKurA, 04 avril 2011 - 07:05 .