EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Feign Death (https://www.eqemulator.org/forums/showthread.php?t=1664)

Wiz 05-04-2002 08:17 AM

Feign Death
 
I pondered how you would go about coding in FD to the source, and got some ideas. Since I'm fairly incapable of doing these myself, I figured I could try putting them out for discussion and generic bashing.

Firstly, you need the prime function itself (OP_FeignDeath) with skill check/increase. Upon success, it should trigger a flag to the feigner. (SetFeigned(1) or something)


When an NPC cycles through it's hate list, it should pluck out any people with a "feigned" flag and:

If level 31<: Simply remove them from it.
If level 32+: Add them to a specific clone of the hate list (memory list or something)

The memory list should not be used combat-wise, but every second or so, the mob should cycle through the memory list, and if a person on it isn't feigned, move him to hate list (however bump him to bottom), otherwise have a DB defined % chance (ForgetChance, default 1) to remove him off the memory list.

Any comments would be appreciated :)

DeletedUser 05-04-2002 08:45 AM

Unfortunately on live, its a lot more complex than that, theres variations of them keeping aggro (even when fded), along with them totally forgetting about you

Wiz 05-04-2002 09:34 AM

I know ;)

However, it's a decent start, and besides live FD code is fucked to hell and back what with the grouping/pet bugs, etc.

This would eliminate some monk headaches.

Also, it's fully possible for mobs to forget you, it just takes a random amount of time.


All times are GMT -4. The time now is 06:43 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.