Suprcode / Zircon

Legend of Mir 3 - Official Public Zircon Source
330 stars 249 forks source link

Guild bonus removed while in grp with member of another guild #136

Closed Patan87 closed 2 months ago

Patan87 commented 6 months ago

as title.

Patan87 commented 6 months ago

repaired it for me like this. Playerobject.cs Public Void GroupJoin() ..... foreach (PlayerObject ob in GroupMembers) { if (ob == this) continue;

    ob.Enqueue(new S.GroupMember { ObjectID = ObjectID, Name = Name });
    Enqueue(new S.GroupMember { ObjectID = ob.ObjectID, Name = ob.Name });

    ob.AddAllObjects();
    ob.RefreshStats();
   // ob.ApplyGuildBuff();
}

AddAllObjects();
//ApplyGuildBuff();

RefreshStats();
Enqueue(new S.GroupMember { ObjectID = ObjectID, Name = Name });

}

removed the both applyguildbuffs

Suprcode commented 6 months ago

This doesn't look like a bug. Its an intended feature of the files to only apply the guild buff if you're grouping with people in your own guild