2025/12/18 Update

Added the missing Vigor line of spells to the Healer.
Dragon Shaman now uses a stat 2DA for Natural Armor increases.
Added 3 starting packages from the Player's Handbook II for Dragon Shaman.
Changed VFX for Detect Undead.
This commit is contained in:
Jaysyn904
2025-12-18 22:13:33 -05:00
parent 8dbe723793
commit 7001d2b2c3
20 changed files with 1901 additions and 1052 deletions

View File

@@ -1896,8 +1896,8 @@ int AttuneGem(object oTarget = OBJECT_INVALID, object oCaster = OBJECT_INVALID,
}
// oTarget here should be the gem. If it's not, fail.
if(!GetIsObjectValid(oTarget)) oTarget = PRCGetSpellTargetObject();
// Only accepts bioware gems
if (GetStringLeft(GetResRef(oTarget), 5) == "it_gem")
// Only accepts bioware gems & Craftable Natural Resources gems, but not gem dust.
if ((GetStringLeft(GetResRef(oTarget), 5) == "it_gem") || (GetStringLeft(GetResRef(oTarget), 6) == "cnrgem") && (GetStringLeft(GetResRef(oTarget), 10) != "cnrgemdust"))
{
FloatingTextStringOnCreature("Spell target is not a valid gem.", oCaster, FALSE);
// And out we go
@@ -3613,4 +3613,5 @@ object CICreateInfusion(object oCreator, int nSpellID)
// Test main
// void main(){}
//
void main(){}