SOL
SAĞ
(Python-Lua) Yeni Destek Becerisi
SİDEBAR REKLAMI

Root uicharacter.py atarılır;

Kod:

SHOW_LIMIT_SUPPORT_SKILL_LIST = [121, 122, 123, 124, 126, 127, 129, 128, 131, 137, 138, 139, 140]

140 yanına eklenir;

Kod:

, 164

Son hali;

Kod:

SHOW_LIMIT_SUPPORT_SKILL_LIST = [121, 122, 123, 124, 126, 127, 129, 128, 131, 137, 138, 139, 140, 164]

uitooltip.py aratılır;

Kod:

def SetSkillNew(self, slotIndex, skillIndex, skillGrade, skillLevel):

Kod bloğu değiştirilir;
locale olarak ayarlı

Kod:

    def SetSkillNew(self, slotIndex, skillIndex, skillGrade, skillLevel):


        if player.SKILL_INDEX_TONGSOL == skillIndex:
            
            slotIndex = player.GetSkillSlotIndex(skillIndex)
            skillLevel = player.GetSkillLevel(slotIndex)


            self.AppendDefaultData(skillIndex)
            self.AppendPartySkillData(skillGrade, skillLevel)
        elif 164 == skillIndex:
            self.ClearToolTip()
            self.__SetSkillTitle(skillIndex, skillGrade)
            opis = skill.GetSkillDescription(skillIndex)
            self.AppendDescription(opis, 25)
            self.AppendSpace(5)


            BonusType = {
                164 : "Bonus: +"}
            
            bonuslar = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
            
            Bonusds = {
                164 : ""}
                
            if skillLevel == 10:
                self.AppendTextLine("Beceri Max. Seviyede!", self.POSITIVE_COLOR)
            
            if 164 == skillIndex:
                self.AppendTextLine("%s %d%s" % (BonusType[skillIndex], bonuslar[skillLevel], Bonusds[skillIndex]), self.NORMAL_COLOR)
                if skillLevel < 10:
                    self.AppendSpace(5)
                    self.AppendTextLine("Sonraki bonus: %d%s" % (bonuslar[skillLevel+1], Bonusds[skillIndex]), self.POSITIVE_COLOR)


        elif player.SKILL_INDEX_RIDING == skillIndex:


            slotIndex = player.GetSkillSlotIndex(skillIndex)
            self.AppendSupportSkillDefaultData(skillIndex, skillGrade, skillLevel, 30)


        elif player.SKILL_INDEX_SUMMON == skillIndex:


            maxLevel = 10


            self.ClearToolTip()
            self.__SetSkillTitle(skillIndex, skillGrade)


            ## Description
            description = skill.GetSkillDescription(skillIndex)
            self.AppendDescription(description, 25)


            if skillLevel == 10:
                self.AppendSpace(5)
                self.AppendTextLine(locale.TOOLTIP_SKILL_LEVEL_MASTER % (skillLevel), self.NORMAL_COLOR)
                self.AppendTextLine(locale.SKILL_SUMMON_DESCRIPTION % (skillLevel*10), self.NORMAL_COLOR)


            else:
                self.AppendSpace(5)
                self.AppendTextLine(locale.TOOLTIP_SKILL_LEVEL % (skillLevel), self.NORMAL_COLOR)
                self.__AppendSummonDescription(skillLevel, self.NORMAL_COLOR)


                self.AppendSpace(5)
                self.AppendTextLine(locale.TOOLTIP_SKILL_LEVEL % (skillLevel+1), self.NEGATIVE_COLOR)
                self.__AppendSummonDescription(skillLevel+1, self.NEGATIVE_COLOR)


        elif skill.SKILL_TYPE_GUILD == skill.GetSkillType(skillIndex):


            if self.SKILL_TOOL_TIP_WIDTH != self.toolTipWidth:
                self.toolTipWidth = self.SKILL_TOOL_TIP_WIDTH
                self.ResizeToolTip()


            self.AppendDefaultData(skillIndex)
            self.AppendSkillConditionData(skillIndex)
            self.AppendGuildSkillData(skillIndex, skillLevel)


        else:


            if self.SKILL_TOOL_TIP_WIDTH != self.toolTipWidth:
                self.toolTipWidth = self.SKILL_TOOL_TIP_WIDTH
                self.ResizeToolTip()


            slotIndex = player.GetSkillSlotIndex(skillIndex)


            skillCurrentPercentage = player.GetSkillCurrentEfficientPercentage(slotIndex)
            skillNextPercentage = player.GetSkillNextEfficientPercentage(slotIndex)


            self.AppendDefaultData(skillIndex, skillGrade)
            self.AppendSkillConditionData(skillIndex)
            self.AppendSkillDataNew(slotIndex, skillIndex, skillGrade, skillLevel, skillCurrentPercentage, skillNextPercentage)
            self.AppendSkillRequirement(skillIndex, skillLevel)


        self.ShowToolTip()

playersettingmodule.py atarılır;

Kod:

def DefineSkillIndexDict():

O kod bloğunda örneğin şöyle bir satır var;

Kod:

"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),},

"SUPPORT" olanlarda 125 sayısı 164 olarak değiştirilecek. (hepsi)

Örnek (Wolfman ekli);

Kod:

def DefineSkillIndexDict():
    global NEW_678TH_SKILL_ENABLE
    global SKILL_INDEX_DICT


    ###Vectors Ek Skill 125 olanlar 164 olarak değiştirildi###
    if NEW_678TH_SKILL_ENABLE:
        SKILL_INDEX_DICT = {
            JOB_WARRIOR : {
            1 : (1, 2, 3, 4, 5, 6, 0, 0, 137, 0, 138, 0, 139, 0,), 
            2 : (16, 17, 18, 19, 20, 21, 0, 0, 137, 0, 138, 0, 139, 0,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),},
            
            JOB_ASSASSIN : {
            1 : (31, 32, 33, 34, 35, 36, 0, 0, 137, 0, 138, 0, 139, 0, 140,), 
            2 : (46, 47, 48, 49, 50, 51, 0, 0, 137, 0, 138, 0, 139, 0, 140,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),},
            
            JOB_SURA : {
            1 : (61, 62, 63, 64, 65, 66, 0, 0, 137, 0, 138, 0, 139, 0,), 
            2 : (76, 77, 78, 79, 80, 81, 0, 0, 137, 0, 138, 0, 139, 0,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),},
            
            JOB_SHAMAN : {
            1 : (91, 92, 93, 94, 95, 96, 0, 0, 137, 0, 138, 0, 139, 0,), 
            2 : (106, 107, 108, 109, 110, 111, 0, 0, 137, 0, 138, 0, 139, 0,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),},
            
            JOB_WOLFMAN : {
            1 : (171, 172, 173, 174, 175, 176, 0, 0, 137, 0, 138, 0, 139, 0,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),}
        }
    else:
        SKILL_INDEX_DICT = {
            JOB_WARRIOR : {
            1 : (1, 2, 3, 4, 5, 0, 0, 0, 137, 0, 138, 0, 139, 0,), 
            2 : (16, 17, 18, 19, 20, 0, 0, 0, 137, 0, 138, 0, 139, 0,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),},
            
            JOB_ASSASSIN : {
            1 : (31, 32, 33, 34, 35, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,), 
            2 : (46, 47, 48, 49, 50, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),},
            
            JOB_SURA : {
            1 : (61, 62, 63, 64, 65, 66, 0, 0, 137, 0, 138, 0, 139, 0,), 
            2 : (76, 77, 78, 79, 80, 81, 0, 0, 137, 0, 138, 0, 139, 0,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),},
            
            JOB_SHAMAN : {
            1 : (91, 92, 93, 94, 95, 96, 0, 0, 137, 0, 138, 0, 139, 0,), 
            2 : (106, 107, 108, 109, 110, 111, 0, 0, 137, 0, 138, 0, 139, 0,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),},
            
            JOB_WOLFMAN : {
            1 : (171, 172, 173, 174, 175, 176, 0, 0, 137, 0, 138, 0, 139, 0,), 
            "SUPPORT" : (122, 123, 121, 124, 164, 129, 0, 0, 130, 131,),}
        }

locale/xx/skilldesc.txt en alta eklenir;

Kod:

164    SUPPORT    Ejderha zırhı            Savunmayı arttırır.                     CANNOT_LEVEL_UP|PASSIVE        Vectorsds

locale/xx/skilltable.txt en alta eklenir;

Kod:

164    Ejderhazirhi    0    1    10    0    NONE                                DISABLE_BY_POINT_UP        NONE                0    0    NORMAL    0    1    0    0

skill_proto.sql

Kod:

INSERT INTO `skill_proto` VALUES (164, 'Ejderhazirhi', 0, 0, 10, 0, 'NONE', '', '', '', '', '', '', '', 'DISABLE_BY_POINT_UP', '', 'NONE', '', '', '', '', '', '', '', 0, 0, 'NORMAL', 0, '1', 0, 0);

Yeniskill.eix Yeniskill.epk packe atılıp indexe eklenir;

Kod:

*
Yeniskill
*

yeniskill.lua /usr/game/share/locale/turkey/quest dizinine atılıp puttyden kodlar yazılır;

Kod:

cd /usr/game/share/locale/turkey/quest
./qc yeniskill.lua

Beceriyi geliştirmek için item kodu 70021 olarak ayarlanmıştır.
Virüs total
İndir

YAZAR HAKKINDA;
arcface
Admin

Web Developer

KONU YORUMLARI
YORUM YAP
Image

C++ / C# / Python

(Python-Lua) Yeni Destek Becerisi

(Python-Lua) Yeni Destek Becerisi (Python-Lua) Yeni Destek Becerisi (Python-Lua) Yeni Destek Becerisi (Python-Lua) Yeni Destek Becerisi (Python-Lua) Yeni Destek Becerisi

EN ÇOK OKUNAN 5 MAKALELER
arcface
Admin Yazdı;

2 ay önce

Yarı insan denilince ne anlıyoruz önce ona bir bakalım. Yarı insan; bi..

arcface
Admin Yazdı;

2 ay önce

Rubinum2 Web Panel Rubinum2 Web Panel Rubinum2 Web PanelRubinum2 Web..

arcface
Admin Yazdı;

2 ay önce

Afro2 Web Panel Kodlaması Afro2 Web Panel Kodlaması Afro2 Web Pane..

arcface
Admin Yazdı;

2 ay önce

Discord Widget Discord Widget Discord Widget Discord Widget Di..

arcface
Admin Yazdı;

2 ay önce

Aegea2 Site Teması İndir Aegea2 Site Teması İndir Aegea2 Site Teması..