Jump to content
  • 0
Sign in to follow this  
Woli

Party kill sharing distance in official hunting quests

Question

1 answer to this question

Recommended Posts

  • 1
1 hour ago, Woli said:

Hello, I would like to tweak official quests to have party members share kills for the whole map instead of just one screen.

Example quest: https://github.com/HerculesWS/Hercules/blob/stable/npc/pre-re/quests/collection/quest_alligator.txt

All I see is `questprogress` calls so I'm not sure where to find this code.

In your mob.c

 

Try to replace it with

map->foreachinmap(quest->update_objective_sub, md->bl.m, BL_PC, sd->status.party_id, md->class_);

 

Haven't tried it, but I think that should work.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.