- script Sample#weapon_type -1,{
OnNPCKillEvent:
.@weapon_type = getiteminfo( getequipid( EQI_ACC_L ),5 );
switch ( .@weapon_type ) {
default: // etc.
case 0: // bare fist
// your bonus here.
break;
case 1: // Daggers
// your bonus here.
break;
case 2: // One-handed swords
// your bonus here.
break;
case 3: // Two-handed swords
// your bonus here.
break;
case 4: // One-handed spears
// your bonus here.
break;
case 5: // Two-handed spears
// your bonus here.
break;
case 6: // One-handed axes
// your bonus here.
break;
case 7: // Two-handed axes
// your bonus here.
break;
case 8: // Maces
// your bonus here.
break;
case 10: // Staves
// your bonus here.
break;
case 11: // Bows
// your bonus here.
break;
case 12: // Knuckles
// your bonus here.
break;
case 13: // Musical Instruments
// your bonus here.
break;
case 14: // Whips
// your bonus here.
break;
case 15: // Books
// your bonus here.
break;
case 16: // Katars
// your bonus here.
break;
case 17: // Revolvers
// your bonus here.
break;
case 18: // Rifles
// your bonus here.
break;
case 19: // Gatling guns
// your bonus here.
break;
case 20: // Shotguns
// your bonus here.
break;
case 21: // Grenade launchers
// your bonus here.
break;
case 22: // Fuuma Shurikens
// your bonus here.
break;
}
end;
}