Welcome to the Builder Academy

Question Mob Switching

More
Yesterday 11:09 #11001 by WhiskyTest
Replied by WhiskyTest on topic Mob Switching
That looks great, you've got the system working and the fun part is now iterating and improving.


I agree with your vision for Tank being an active role - having depth and strategy that players can discover.

You mentioned the prompt showing the mobs focus. I think that's the right approach.
My default prompt looks like:

Health: 89%>  Opponent> a runty squig (beaten-up)
View from Krumpa, group leader currently tanking a squig.

Health: 100%> Tank> Krumpa (scratched) Opponent> a runty squig (beaten-up)
View from WeirdBoy, grouped with Krumpa.

If aggro changed, Krumpa would immediately see his prompt update with a Tank entry showing WeirdBoy as tank, and WeirdBoy's prompt would no longer have a tank entry. (Perhaps it would be best to show 'YOU' under tank when grouped?)
Having a short, punchy message when aggro changes is the key - something a player can scan for and quickly take note of.

I was thinking the 'group' command could be extended to show more detailed Tanking and aggro status.
Perhaps it also shows a + or - if a player is increasing or decreasing their aggro generation. Allowing the Tank to proactively adjust tactics on the fly, instead of purely reacting. 

One memory related point: 
When a mob dies, or combat ends be sure to free the memory or you'll spring a leak :D
I've put a call to this in extract_char() just after the event list gets cleared.
Code:
void clear_threat_list(struct char_data *mob) {   struct threat_data *t, *next;   for (t = mob->mob_specials.threat_list; t; t = next)   {     next = t->next;     free(t);   }   mob->mob_specials.threat_list = NULL; }

I'm going to keep working on and testing my implementation, if I come across anything else I'll drop it here!

Please Log in or Create an account to join the conversation.

More
Yesterday 14:06 #11003 by soth
Replied by soth on topic Mob Switching
Hey Whiskey,
I like the idea of your prompt as it is different, simple and gives the info needed. I may do something similar :)
Yes, I think the idea of giving a small 1 line message when the mob is getting ready to switch and when they actually switch makes it better for the player. They can create a trigger if needed as well on the switching.

I have also thought about having 2 prompt lines with one showing the group members and their aggro numbers. Maybe add that to the group function or something?
EX:  [ Aggro: Haides:1540  Xoric:1201  Tinkerdoom:754 ]
If that was added I think I would want it to be simple and short so it does not distract or something similar to that format.

You are right, I've got to test a bit now to get the numbers to where they should be.  Also, I can add one line for each spell if I want that spell to give more threat which I think might be nice down the road.

Oh, I do think if I call "peace" then the aggro numbers still stay. I'm not sure if I should just go ahead and clear that out once fighting stops, what do you think?

Thanks for the suggestions and everything!

Kevin

Please Log in or Create an account to join the conversation.

Time to create page: 0.191 seconds