Further file organization
Further file organization
This commit is contained in:
21
nwn/nwnprc/trunk/newspellbook/shd_smith_shroud.nss
Normal file
21
nwn/nwnprc/trunk/newspellbook/shd_smith_shroud.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
----------------
|
||||
Shadowsmith Shroud of Shadow
|
||||
|
||||
shd_smith_shroud.nss
|
||||
----------------
|
||||
|
||||
Hide/MS bonus equal to class level
|
||||
|
||||
02.03.19 by Stratovarius
|
||||
*/
|
||||
|
||||
#include "shd_inc_shdfunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
int nClass = GetLevelByClass(CLASS_TYPE_SHADOWSMITH);
|
||||
effect eDur = EffectLinkEffects(EffectSkillIncrease(SKILL_HIDE, nClass), EffectSkillIncrease(SKILL_MOVE_SILENTLY, nClass));
|
||||
eDur = SupernaturalEffect(EffectLinkEffects(eDur, EffectVisualEffect(VFX_DUR_SHADOWS_ANTILIGHT)));
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eDur, OBJECT_SELF, TurnsToSeconds(nClass));
|
||||
}
|
Reference in New Issue
Block a user