Fixed unproficient TWF bug.
Fixed unproficient TWF bug. Tried giving Bloodclaw Rending an on/off switch.
This commit is contained in:
28
nwn/nwnprc/trunk/newspellbook/tob_bcm_rend.nss
Normal file
28
nwn/nwnprc/trunk/newspellbook/tob_bcm_rend.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
//:: tob_bcm_rend
|
||||
|
||||
/*
|
||||
Turn Rending Claws off & on
|
||||
*/
|
||||
#include "prc_inc_function"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
int bRend = GetLocalInt(oPC, "BCM_REND");
|
||||
|
||||
if (bRend)
|
||||
{
|
||||
DeleteLocalInt(oPC, "BCM_REND");
|
||||
//DelayCommand(1.0, EvalPRCFeats(oPC));
|
||||
FloatingTextStringOnCreature("Rending Claws Disabled", oPC, FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetLocalInt(oPC, "BCM_REND", 1);
|
||||
effect eVis = EffectVisualEffect(VFX_IMP_SUPER_HEROISM);
|
||||
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oPC);
|
||||
//DelayCommand(1.0, EvalPRCFeats(oPC));
|
||||
FloatingTextStringOnCreature("Rending Claws Enabled", oPC, FALSE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user