Further file organization
Further file organization
This commit is contained in:
22
nwn/nwnprc/trunk/scripts/prc_hext_strbst.nss
Normal file
22
nwn/nwnprc/trunk/scripts/prc_hext_strbst.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
/////////////////////////////////////////////////
|
||||
// Fist of Hextor Strength Boost
|
||||
//-----------------------------------------------
|
||||
// Created By: Stratovarius
|
||||
/////////////////////////////////////////////////
|
||||
#include "prc_alterations"
|
||||
#include "prc_class_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
effect eVis = EffectVisualEffect(VFX_IMP_IMPROVE_ABILITY_SCORE);
|
||||
effect eDur = EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE);
|
||||
effect eStr = EffectAbilityIncrease(ABILITY_STRENGTH, 4);
|
||||
effect eLink = EffectLinkEffects(eStr, eDur);
|
||||
eLink = ExtraordinaryEffect(eLink);
|
||||
int nDur = (GetLevelByClass(CLASS_TYPE_HEXTOR, OBJECT_SELF) + 4);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, OBJECT_SELF);
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, OBJECT_SELF, RoundsToSeconds(nDur));
|
||||
|
||||
}
|
Reference in New Issue
Block a user