View Single Post
Old 18.12.2005, 11:30   #11
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Ah ok. Makes sense then. I think I'll need to dig a bit to see exactly what's changed so the skill/abnormal types can be fixed. The problems is that we're still using C1 codes and the client has moved on meaning a lot of the functionality of the server is getting messed up as well. Looking through the ai data is a headache because some of the functions that are still there don't even work and are just taking up useless space. When I have more time, I can probably break it up and see if we can get things working properly. I think I was getting my abnormal and skills confused a bit. :P

Now as for the mobs...

Let's say if a mob is lead out beyond it's "area" where it spawns. It can make a check and head back to where it was, or just reappear where it spawned. There's plenty of ai functions for this, and maybe we can get the ball rolling for it so we can implement it. :P

Some of the functions that are of interest would be the ones from the archer warrior and orfen ai. If you look at it, it has the flags in there already. They just need to be tweaked a bit. The archer would be good since they usually run away if you're too close and orfen would be good since she teleports when she gets low on hp.

Also, we can take a look at a few others like:
class warrior_run_away_to_clan : warrior
class warrior_flee : warrior


Adding the "class warrior_flee : warrior" ai string on most of the mobs that people love to exploit would be a good thing, since they wouldn't just sit there and get hit all the time. For example, if someone was to pull a ton of mobs to an exploiting spot and nuke them, they would start to run when they get to a certain HP. This would make the exploit that much harder since;

1.) They're low on mana from nuking.
2.) If all of the mobs started running away, then it would pose a better challenge since the exploiter now has to target each and every single mob to kill it.

I think that's pretty easy to accomplish since 90% of the code is already done in the existing ai.obj. The only hard part is to find out which mobs you want to change and tweak with the added ai.

Keep in mind though if everyone tried to exploit a group of mobs and they all teleported back if they got to a certian hp (like Orfen), then it would be rather hard to play the game, lol. :lol:
flakka is offline