I've been looking through the proxy records and wiki but can't find many mentions of 'shield' except for the modifier maximizer. Is there a way to find if you have a shield equipped via ash? I'd assume mafia knows what items are shields if the maximizer can take a +shield command but I don't see that info exposed elsewhere
This arose out of creating a function to return a usable muscle class combat skill you currently have, and I'm not sure how to tell if Shieldbutt will be usable before combat
This arose out of creating a function to return a usable muscle class combat skill you currently have, and I'm not sure how to tell if Shieldbutt will be usable before combat
PHP:
foreach s in $skills[] {
if( ( s.class == $class[turtle tamer] || s.class == $class[seal clubber] ) && s.combat && have_skill(s) ){
if( s != $skill[shieldbutt] ) return s;
else if( CHECK_FOR_SHIELD_EQUIPPED ) return s;
}
}