Updated AMS marker feats

Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-02-11 14:01:05 -05:00
parent 618cd42b82
commit 6ec137a24e
24762 changed files with 1528530 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
/**
* @file
* Spellscript for Stalker's Bow SLAs
*
*/
#include "prc_inc_template"
void main()
{
object oPC = OBJECT_SELF;
int nCasterLevel, nDC, nSpell, nUses;
int nSLA = GetSpellId();
effect eNone;
object oWOL = GetItemPossessedBy(oPC, "WOL_StalkersBow");
// You get nothing if you aren't wielding the weapon
if(oWOL != GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC)) return;
switch(nSLA){
case WOL_SB_STALK:
{
nUses = 1;
// Check uses per day.
if (nUses > GetLegacyUses(oPC, nSLA))
{
SetLegacyUses(oPC, nSLA);
effect eLink = EffectLinkEffects(EffectSkillIncrease(SKILL_HIDE, 10), EffectSkillIncrease(SKILL_MOVE_SILENTLY, 10));
eLink = EffectLinkEffects(eLink, EffectSkillIncrease(SKILL_LISTEN, 10));
eLink = EffectLinkEffects(eLink, EffectSkillIncrease(SKILL_SPOT, 10));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(eLink), oPC, 600.0);
}
break;
}
case WOL_SB_ETHEREAL:
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(EffectEthereal()), oPC, 60.0);
break;
}
}
// Check uses per day
if (GetLegacyUses(oPC, nSLA) >= nUses)
{
FloatingTextStringOnCreature("You have used " + GetStringByStrRef(StringToInt(Get2DACache("spells", "Name", nSLA))) + " the maximum amount of times today.", oPC, FALSE);
return;
}
}