Code: Select all
PARTY_SKILL_WARP = 2Code: Select all
MEMBER_BUTTON_WARP = 11Code: Select all
MEMBER_BUTTON_NORMAL : "party_state_normal",Code: Select all
MEMBER_BUTTON_WARP : "party_skill_warp",Code: Select all
self.stateButtonDict[self.MEMBER_BUTTON_NORMAL].SetToolTipText(locale.PARTY_SET_NORMAL)Code: Select all
self.stateButtonDict[self.MEMBER_BUTTON_WARP].SetEvent(ui.__mem_func__(self.OnWarp))
self.stateButtonDict[self.MEMBER_BUTTON_WARP].SetToolTipText(locale.PARTY_RECALL_MEMBER)Code: Select all
## Defender
if skillLevel >= 40:
self.__AppendStateButton(xPos, y, player.PARTY_STATE_DEFENDER)
xPos += 23Code: Select all
## Warp
if skillLevel >= 35:
if self.stateButtonDict.has_key(self.MEMBER_BUTTON_WARP):
button = self.stateButtonDict[self.MEMBER_BUTTON_WARP]
button.SetPosition(xPos, y)
button.Show()
xPos += 23Code: Select all
def OnSelectState(self, state):
self.__HideStateButton()
if state <= 0:Code: Select all
def OnWarp(self):
self.__HideStateButton()
if self.vid:
net.SendPartyUseSkillPacket(self.PARTY_SKILL_WARP, self.vid)
Cu acest "mini system" poti trage playerii din grupa la tine, actioneaza ca si /g il trage fara loading. Folositoare la war cand te baga lesinatii de somn in bug sa nu te mai teleportezi map1.
Dar deja stim toti ca n-o sa se faca nici un update.[/b]







