Thread: Feign Death
View Single Post
  #1  
Old 05-04-2002, 08:17 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default 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
Reply With Quote