What's the difference between these two scripts that apparently both work just fine in making an item with infinite usage. As in the item not being removed from your inventory after use.
function Snowball_Image::onCharge(%this, %obj, %slot)
{
%obj.playthread(2, spearReady);
}
function Snowball_Image::onAbortCharge(%this, %obj, %slot)
{
%obj.playthread(2, root);
}
function Snowball_Image::onFire(%this, %obj, %slot)
{
%obj.playthread(2, spearThrow);
Parent::onFire(%this, %obj, %slot);
}
function whiteCardImage::onPreFire(%this, %obj, %slot)
{
%obj.playthread(2, armattack);
}
function whiteCardImage::onStopFire(%this, %obj, %slot)
{
%obj.playthread(2, root);
}