function getSpellSchool($mask) { global $gSpellSchool; return getListFromArray_0($gSpellSchool, $mask); }
function getInventoryTypeList($mask, $as_ref = 1) { global $gInventoryType; if ($as_ref) { return getListFromArray_0($gInventoryType, $mask, "?s=i&type=%d"); } return getListFromArray_0($gInventoryType, $mask); }