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:
@@ -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(){}
|
||||
|
||||
Reference in New Issue
Block a user