Refine ek bonus eklentisi

TRBonus

Yasaklanmış Üye
Cezalı
Mesaj
22
Çözümler
1
Beğeni
4
Puan
443
Ticaret Puanı
0
1650519209726.png


Kod:
#uirefine.py
//arat
        self.probText.SetText(localeInfo.REFINE_SUCCESS_PROBALITY % (self.percentage))
        self.costText.SetText(localeInfo.REFINE_COST % (self.cost))

//ile değiştirilir
        if constInfo.refine_probality_type == 1:
            self.probText.SetText(localeInfo.REFINE_SUCCESS_PROBALITY % (self.percentage) + "|cFF47DA00|h(+25)|h|r")
        elif constInfo.refine_probality_type == 2:
            self.probText.SetText(localeInfo.REFINE_SUCCESS_PROBALITY_2 + "|cFF47DA00|h(100%)|h|r")
        else:
            self.probText.SetText(localeInfo.REFINE_SUCCESS_PROBALITY % (self.percentage))

        self.costText.SetText(localeInfo.REFINE_COST % (self.cost))


#constinfo.py


//herhangi bi yere ekleyin


refine_probality_type = 0


#uiinventory.py
//ara
        if player.REFINE_OK != player.CanRefine(scrollIndex, targetSlotPos):
            return

//altına ekle
        if int(scrollIndex) == 25042:
            constInfo.refine_probality_type = 1
        elif int(scrollIndex) == 25043:
            constInfo.refine_probality_type = 2
        else:
            constInfo.refine_probality_type = 0

#locale_game.txt
//ekle
REFINE_SUCCESS_PROBALITY    Yükseltme şansı %%%d
REFINE_SUCCESS_PROBALITY_2    Yükseltme şansı

Herhangi bir ek bonus sistemi eklemeniz gerekir ,sadece görüntü vermektedir.
Luiganın kadim metal sistemini ekleyerek kullanabilirisiniz.
25042 ve 25043 item kodunda çalışmaktadır, uiinventory den değiştirebilirisiniz veya kodları inceleyerek daha fazlasını ekleyebilirsiniz.


İyi kullanımlar..
 
Son düzenleme:
Geri
Üst