Bug - Not A Bug Headbutt + Kneebutt Combo Requiring a Shield

me259259

Member
I'm using a consult script when battling. When the script tries to use_skill($skill[head+knee combo]), it breaks and says "This skill is useless without a shield."

When I use the regular custom combat script setting to do the same thing ("skill head + knee combo"), it works just fine.

Using KoLMafia v14.7 R9679
 

slyz

Developer
Code:
> ashq string s = "head+knee combo"; print( s.to_skill() );

Head + Knee + Shield Combo

> ashq string s = "head + knee combo"; print( s.to_skill() );

Head + Knee Combo
It looks like you simply need to change
PHP:
use_skill($skill[head+knee combo]);
to
PHP:
use_skill($skill[head + knee combo]);
 

Theraze

Active member
Fuzzy matcher v. Exact match... the others don't fuzzy match to a different skill than the one you're trying to cast. :)
 
Top