Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,60 +0,0 @@
/*
sp_magehand
Transmutation
Level: Brd 0, Sor/Wiz 0
Components: V, S
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Target: One nonmagical, unattended object weighing up to 5 lb.
Duration: Concentration
Saving Throw: None
Spell Resistance: No
You point your finger at an object and can lift it and move it at will from a distance. As a move action, you can propel the object as far as 15 feet in any direction, though the spell ends if the distance between you and the object ever exceeds the spell<6C>s range.
By: Flaming_Sword
Created: Sept 29, 2006
Modified: Sept 29, 2006
Copied from psionics
*/
#include "prc_sp_func"
void main()
{
if(!X2PreSpellCastCode()) return;
PRCSetSchool(SPELL_SCHOOL_TRANSMUTATION);
object oCaster = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
object oItem;
int nTargetType = GetObjectType(oTarget);
int nMaxWeight = 50;
// Target needs to be an item
if(nTargetType == OBJECT_TYPE_PLACEABLE)
{
if(GetTag(oTarget) == "BodyBag")
oItem = GetFirstItemInInventory(oTarget);
}
else if(nTargetType == OBJECT_TYPE_ITEM)
{
oItem = oTarget;
}
if(!GetIsObjectValid(oItem))
FloatingTextStrRefOnCreature(16826245, oCaster, FALSE); // "* Target is not an item *"
// And light enough
if(GetWeight(oItem) <= nMaxWeight)
{
//ActionGiveItem(oTarget, oCaster);
CopyItem(oItem, oCaster, FALSE);
MyDestroyObject(oItem); // Make sure the item does get destroyed
}
else
FloatingTextStrRefOnCreature(16824062, oCaster, FALSE); // "This item is too heavy for you to pick up"
PRCSetSchool();
}