Posted: Mon Apr 02, 2018 9:47 pm |
|
I have implemented the first kill check for both group members and when a GC gets a kill. You can see the code below in the following gist. Feel free to use or not as you see fit. (The GC giving first kills to caster was a big deal for me, so i implemented it but I can see arguments for why it would not make sense)
First Kill for Group Members Implementation
Assuming the code hasn't changed that much in
int do_char_can_see(int cn,int co) |
in svr_do.c just add
if (isgroup(cn, co) && isgroup(co, cn)) return 1; |
This validates that both characters have indeed grouped each other and if they have it just shows them if they are within render distance. This is essentially the same thing the game does when checking if a player can see themselves.