Jump to content

Home

how do i lower the resists on a power thats an item?


aluuan

Recommended Posts

i am trying to lower the resist on the dark choker mod that has the clicky force choke , trying to lower the force choke item so that when i use it one someone it lands all the time on the npc without it SAVE all the time also want it to do no dmg. how do go about doing that??

Link to comment
Share on other sites

Originally posted by aluuan

i am trying to lower the resist on the dark choker mod that has the clicky force choke , trying to lower the force choke item so that when i use it one someone it lands all the time on the npc without it SAVE all the time

I imagine this is beacuse your pc is too powerful in comparison with the other non hostile npcs in the game. merchants, civilians, etc have poor stats. The Darkside choker uses the fortitude saving throw.

 

also want it to do no dmg. how do go about doing that??

you have to edit k_inc_force.nss:

 

Remove the following code lines: (note instead of removing the lines, you can simply add // at the beginning of each line you want to remove: if you want to make the DS choker harmful again it will be easier: simply remove the // before each line.

 

SWFP_DAMAGE = (GetHitDice(OBJECT_SELF)*2)/3;
SWFP_DAMAGE_TYPE = DAMAGE_TYPE_BLUDGEONING;

 

effect eDamage = EffectDamage(SWFP_DAMAGE, SWFP_DAMAGE_TYPE);

 

SP_InterativeDamage(eDamage, 7, oTarget);

 

Then, replace:

 int nResist = Sp_BlockingChecks(oTarget, eChoke, eDamage, eInvalid);

by

 int nResist = Sp_BlockingChecks(oTarget, eChoke, eInvalid, eInvalid);

and finally compile your script.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...