SMF - Just Installed!
int HasDevast(object oPC, int nBaseItem){ switch(nBaseItem) { case BASE_ITEM_GLOVES: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_UNARMED; break; case BASE_ITEM_BASTARDSWORD: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_BASTARDSWORD; break; case BASE_ITEM_BATTLEAXE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_BATTLEAXE; break; case BASE_ITEM_CLUB: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_CLUB; break; case BASE_ITEM_DAGGER: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_DAGGER; break; case BASE_ITEM_DART: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_DART; break; case BASE_ITEM_DIREMACE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_DIREMACE; break; case BASE_ITEM_DOUBLEAXE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_DOUBLEAXE; break; case BASE_ITEM_DWARVENWARAXE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_DWAXE; break; case BASE_ITEM_GREATAXE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_GREATAXE; break; case BASE_ITEM_GREATSWORD: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_GREATSWORD; break; case BASE_ITEM_HALBERD: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_HALBERD; break; case BASE_ITEM_HANDAXE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_HANDAXE; break; case BASE_ITEM_HEAVYCROSSBOW: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_HEAVYCROSSBOW; break; case BASE_ITEM_HEAVYFLAIL: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_HEAVYFLAIL; break; case BASE_ITEM_KAMA: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_KAMA; break; case BASE_ITEM_KATANA: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_KATANA; break; case BASE_ITEM_KUKRI: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_KUKRI; break; case BASE_ITEM_LIGHTCROSSBOW: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_LIGHTCROSSBOW; break; case BASE_ITEM_LIGHTFLAIL: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_LIGHTFLAIL; break; case BASE_ITEM_LIGHTHAMMER: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_LIGHTHAMMER; break; case BASE_ITEM_LIGHTMACE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_LIGHTMACE; break; case BASE_ITEM_LONGBOW: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_LONGBOW; break; case BASE_ITEM_LONGSWORD: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_LONGSWORD; break; case BASE_ITEM_MORNINGSTAR: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_MORNINGSTAR; break; case BASE_ITEM_QUARTERSTAFF: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_QUARTERSTAFF; break; case BASE_ITEM_RAPIER: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_RAPIER; break; case BASE_ITEM_SCIMITAR: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_SCIMITAR; break; case BASE_ITEM_SCYTHE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_SCYTHE; break; case BASE_ITEM_SHORTBOW: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_SHORTBOW; break; case BASE_ITEM_SHORTSPEAR: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_SHORTSPEAR; break; case BASE_ITEM_SHORTSWORD: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_SHORTSWORD; break; case BASE_ITEM_SHURIKEN: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_SHURIKEN; break; case BASE_ITEM_SICKLE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_SICKLE; break; case BASE_ITEM_SLING: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_SLING; break; case BASE_ITEM_THROWINGAXE: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_THROWINGAXE; break; case BASE_ITEM_TRIDENT: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_TRIDENT; break; case BASE_ITEM_TWOBLADEDSWORD: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_TWOBLADEDSWORD; break; case BASE_ITEM_WARHAMMER: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_WARHAMMER; break; case BASE_ITEM_WHIP: nBaseItem = FEAT_EPIC_DEVASTATING_CRITICAL_WHIP; break; default: return FALSE; }return GetHasFeat(nBaseItem,oPC);}
/* Get and set the various weapon feats for individual base item types. */int GetWeaponDevastatingCriticalFeat (int nBaseItem);