Closed Ubaware closed 5 years ago
Great job!
Fixed NPC in FamilyAddHandler
pointed out by @BHB88.
Also changed behavior to allow players without families to absorb other families and become the new leader.
Fixed entitlements state not being reset in memory. Pointed out by @BHB88.
Added families.
Not quite finished yet, but I thought I'd put it up at this stage for input.Thanks BHB, Arnah, and kolackk for some family information. (Rep gain numbers and absorption of other families. Mob kill one is just a random value that makes sense though) Only tested on local server, haven't tried with tons of members.Things that I still haven't done
(will be added shortly):Need to modifyMapleInviteCoordinator
to take additional parameters to pass on. (Map for summon, in case it changes before the invite is answered.)I'm not sure how to do the 2x stuff since I haven't looked there in the source yet, But I will if necessary.Not included.Check if TP/summon map is an instance, probably block if so.Possibly add finer locking toSeparate read/write locks would only benefitMapleFamilyEntry
if it needs it. Should be good for now though, just might be sub-optimal.isJunior()
, which is only used during family separation.Absorbing other families.Get proper reputation cost for separation from client.Maybe cleanupDidn't refactor, just removed a few comments/useless lines.MapleFamilyEntry
if it needs it. Was tired.Also included :
USE_ENFORCE_MOB_LEVEL_RANGE
. Pointed out by Lame.NOT included :