noisiv 1
noisiv
Manwe Work 1
Manwe Work
Bvural41 1
Bvural41
Mt2Hizmet 1
Mt2Hizmet
Hikaye Ekle

[Python] - Fast Skill Point Distribute.

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

Birkac gün önce kendime yazmistim, belki size yardimci olur.

strg basinca 17ye kadar bütün pointler dağıtilir.

VjCBcab.gif


uiCharacter.py ac ve ara:

Fonksiyon
Kod:
def OnPressedSlotButton(

Komple degistir bunun ile:

Kod:
	## Skill Level Up Button
	def OnPressedSlotButton(self, slotNumber):
		srcSlotIndex = self.__RealSkillSlotToSourceSlot(slotNumber)

		skillIndex = player.GetSkillIndex(srcSlotIndex)
		curLevel = player.GetSkillLevel(srcSlotIndex)
		maxLevel = skill.GetSkillMaxLevel(skillIndex)
		curRealLevel = 0 + curLevel
		if app.IsPressed(app.DIK_LCONTROL):
			for i in xrange(17):
				net.SendChatPacket("/skillup " + str(skillIndex))
				curRealLevel += 1
				chat.AppendChat(7, "curLevel = %d" % curRealLevel)
				
				if curRealLevel >= 17:
					return
		else:
			net.SendChatPacket("/skillup " + str(skillIndex))

Kod:
import chat unutmayin
 
Son düzenleme:
It doesnt matter, there is no such as memory issue with this change.
Player's use the same way, at almost the same speed by distrubiting manually.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst