AardCrowley / Search-and-Destroy

Safe, Legal Search and Destroy
10 stars 14 forks source link

Apostrophes aren't stripped from mob names / keywords resulting in incorrect targeting #109

Open danj2k opened 1 year ago

danj2k commented 1 year ago

When a mob name has an apostrophe in it (e.g. mobs in Nulan'Boar) this is not stripped from the keyword, resulting in incorrect targeting:

image
AardCrowley commented 1 year ago

Sorry for just now touching base on this. I think I can safely remove the apostrophes surrounding the argument rather than stripping them from the name. In other words:

k nulan'boar mother

would kill the mother whether there was a hunter or gatherer in the room. I have to do some testing, but that's probably the best bet in fixing that issue.