Replace the "ReplaceMe" with your weapon name. Add a description and variables. Add a number after the 6 on special var for ATK, add a number for weight, add a #w description for MiscInfo.
//========== ReplaceMe ==========
$AccessoryVar[ReplaceMe, $AccessoryType] = $SwordAccessoryType;
$AccessoryVar[ReplaceMe, $SpecialVar] = "6 ";
$AccessoryVar[ReplaceMe, $Weight] = ;
$AccessoryVar[ReplaceMe, $MiscInfo] = "";
$SkillType[ReplaceMe] = $SkillSlashing;
//$WeaponDelay[ReplaceMe] = 1.5;
ItemImageData ReplaceMeImage
{
shapeFile = "elfinblade";
mountPoint = 0;
weaponType = 0; // Single Shot
reloadTime = 0;
fireTime = GetDelay(ReplaceMe);
minEnergy = 0;
maxEnergy = 0;
accuFire = true;
sfxFire = SoundSwing1;
sfxActivate = AxeSlash2;
};
ItemData ReplaceMe
{
heading = "bWeapons";
description = "";
className = "Weapon";
shapeFile = "elfinblade";
hudIcon = "blaster";
shadowDetailMask = 4;
imageType = ReplaceMeImage;
price = 0;
showWeaponBar = true;
};
function ReplaceMeImage::onFire(%player, %slot)
{
MeleeAttack(%player, GetRange(ReplaceMe), ReplaceMe);
}