Update abilities.cpp

Corrected fix.
Merge pull request #253 from Fuzzysqurl/patch-10

Update abilities.cpp
Merge remote-tracking branch 'main/master'