Next question: is there a function or call that accomplishes the following, or can one of you experts create one to look into an item's file and find the assigned weapon type by value? I imagine it would mirror the function of
quest::isdisctome(item_id) # Checks if 'item_id' is a discipline tome.
Code:
#usage quest::isweapon_type($itemid, type) where you choose the value for slash, blunt, et cetera
$itemid = $client->GetItemIDAt(13); #Gets itemid in primary
if (quest::isweapon_type($itemid, type)) { # Checks if $itemid is a type weapon
effect;
}
else {
other effect;
}