Jump to content
  • 0
sizenine

enforced party share exp and items feature?

Question

i know this may require some src modding, but is it possible to make a script use enforced shared exp and items when a party enters a map? by enforced, i mean to make it even bypass the sharing level range.

example, if a party has a player of level 99 and a player of level 150, when they enter the map, the party settings will automatically change to even shared exp and even shared items. partylock will be on so it can't be adjusted on the map until they exit.

i guess what i need is a script command that allows scripts to adjust a party's settings and maybe a mapflag that enables party settings to bypass the sharing level range. or are there other ways to do this? suggestions?

Edited by sizenine
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

party.c:

if (p && p->party.item&2 && (first_charid || !(battle_config.party_share_type&1)))

Change to:

if (p && ((p->party.item&2 && (first_charid || !(battle_config.party_share_type&1))) || map[sd->bl.m].name == "map"))

  • Upvote 1
Link to comment
Share on other sites

wait.. i think this only enables item share right? can we make the exp shared also?

Edited by sizenine
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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