The problem is that you can't make a check of the spot where is located the player.
Maybe you can do this:
a) put a fish mob in water (maybe with elpy AI?). 1hp, 1pdef.
b) put, as condition to use the skill, that target is of a certain kind (the kind of the fish)
c) if target is ok, then skill will be usable. make that the skill do some dmg (really low, just enough to kill the mob) and...
d) at the same time it summons an npc that runs some AI that gives you a fish.
d2) version 2: put AI on the mob with on_spelled event that checks that you used that "fishing skill" to kill him and so it will put in your inventory a fish.
|