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

Add a new entry in your manual_pch.txt. There's a whole list of abnormal effects (97 of them in fact).

For example...

[ab_none] = 0 - "none" being the key word. If you look in manual_pch, you'll see all of the "ab_" or abnormal effects in the game. So just make a new one so you can add it, or make sure your abnormal effect name matches up with the skill you want to use. That's probably why it's not working for you.

Or, you can add a new abnormal stat like ab_exploiterfound = 98, make the appropriate skilldata and stuff and then have an NPC/mob cast it on an exploiter or someone whose cheating. Say if the exploiter is luring mobs into a place where they get stuck and can't fight back. Just make a new place in areadata (go in the game and /loc for the well-known exploitable places like fences and stuff.). Then make a new regen skill or a no-damage abnormal effect or something in that specific area. Make sure to flag it so only mobs are affected otherwise players will exploit it for themselves. :P So basically once the mob enters that area, they won't recieve any damage and the players can't use that place anymore to exploit.

Also, you can make new areas that are peace zones (with full non-casting/skill areas for players), etc. That way people can't use skills or attacks to PK people in towns from on top of the buildings. :P

Saves tons of resources this way and it's a pretty fail-safe way to catch them since the code is plain and simple. Hope this helps some of you guys. :wink:
flakka is offline