Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
CHRMBrotherhood.lua - Quest File
General Info
Quest File
-- CHRMBrotherhood function event_scale_calc(e) local playerrace = e.owner:GetRace(); local playerclass = e.owner:GetClass(); local group = e.owner:GetGroup(); local member; local matchcount = 0; if(group) then for i = 1,6,1 do member = group:GetMember(i); if(member) then if((member:GetClass() == playerclass) or (member:GetRace() == playerrace)) then matchcount = matchcount + 1 end end end end e.self:SetScale(matchcount/5) end
Source: 17 Jan 2022
Quest Source: 28 May 2022