Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

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

Page: 1 of 1
 aluuan
07-18-2004, 5:40 AM
#1
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??
 Darth333
07-18-2004, 8:46 AM
#2
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.
 aluuan
07-18-2004, 8:50 AM
#3
thanks again hehe :)
Page: 1 of 1