parent
8ad88c4070
commit
e714f9e149
@ -0,0 +1,31 @@
|
|||||||
|
function Player:isPartyLeader()
|
||||||
|
local shield = self:getShield()
|
||||||
|
return (shield == ShieldWhiteYellow or
|
||||||
|
shield == ShieldYellow or
|
||||||
|
shield == ShieldYellowSharedExp or
|
||||||
|
shield == ShieldYellowNoSharedExpBlink or
|
||||||
|
shield == ShieldYellowNoSharedExp)
|
||||||
|
end
|
||||||
|
|
||||||
|
function Player:isPartyMember()
|
||||||
|
local shield = self:getShield()
|
||||||
|
return (shield == ShieldWhiteYellow or
|
||||||
|
shield == ShieldYellow or
|
||||||
|
shield == ShieldYellowSharedExp or
|
||||||
|
shield == ShieldYellowNoSharedExpBlink or
|
||||||
|
shield == ShieldYellowNoSharedExp or
|
||||||
|
shield == ShieldBlueSharedExp or
|
||||||
|
shield == ShieldBlueNoSharedExpBlink or
|
||||||
|
shield == ShieldBlueNoSharedExp or
|
||||||
|
shield == ShieldBlue)
|
||||||
|
end
|
||||||
|
|
||||||
|
function Player:isPartySharedExperienceActive()
|
||||||
|
local shield = self:getShield()
|
||||||
|
return (shield == ShieldYellowSharedExp or
|
||||||
|
shield == ShieldYellowNoSharedExpBlink or
|
||||||
|
shield == ShieldYellowNoSharedExp or
|
||||||
|
shield == ShieldBlueSharedExp or
|
||||||
|
shield == ShieldBlueNoSharedExpBlink or
|
||||||
|
shield == ShieldBlueNoSharedExp)
|
||||||
|
end
|
Loading…
Reference in new issue