![]() |
C4 fishing skill
Hello,
have you any idea to how could we implement fishing skill in C4 ? Code:
skill_id = 1312 skill_level = 1 name = [Fishing] desc = [Tries to catch fish at a fishing spot. One must be equipped with a fishing rod and a bait or lure to use this skill.] |
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. |
why not, i ll try, ty :)
|
| All times are GMT. The time now is 15:49. |