QuestFolder = get_locale_base_path().."/quest/"
-- Classe
PetSystem = {['Folder'] = QuestFolder.."/pet/", ['ItemExp'] = 3000, ['UpdateFrequency'] = 30, ['Flag'] = "active_pet", ['ExpFlag'] = "exp_blocked"}
-- Pet 1
PetSystem[1] =
{['Name'] = "Ates Ankasi", ['Level'] = 22, ['Item'] = 53001, ['pet'] = 1, ['MaxLevel'] = 99, ['WindowSize'] = 395,
['Skill']= {
{['type']=apply.MAX_HP,['name']="Max HP",['max_points']=20,['min_level']=1,['desc']="+100HP",['mult']=100,['tag']=" HP"},
{['type']=apply.INT,['name']="Zeka",['max_points']=10,['min_level']=1,['desc']="+1 INT",['mult']=1,['tag']=" Zeka"},
{['type']=apply.STR,['name']="Guc",['max_points']=10,['min_level']=1,['desc']="+1 STR",['mult']=1,['tag']=" Guc"},
{['type']=apply.DEX,['name']="Ceviklik",['max_points']=10,['min_level']=1,['desc']="+1 DEX",['mult']=1,['tag']=" Ceviklik"},
{['type']=apply.PENETRATE_PCT,['name']="Delici vurus",['max_points']=15,['min_level']=5,['desc']="+1% Delici vurus",['mult']=1,['tag']="% Delici"},
{['type']=apply.CRITICAL_PCT,['name']="Kritik vurus",['max_points']=15,['min_level']=5,['desc']="+1% Kritik vurus",['mult']=1,['tag']="% Kritik"},
{['type']=apply.ATTBONUS_MONSTER,['name']="Canavarlara karsi guc",['max_points']=10,['min_level']=90,['desc']="+1% Canavara karsi guc",['mult']=1,['tag']="% Canavarlara karsi guc"},
{['type']=apply.MOV_SPEED,['name']="Hareket hizi'",['max_points']=10,['min_level']=90,['desc']="+1% Buyu hizi",['mult']=1,['tag']="% Hareket hizi"}
},
['ExpTable'] = {3000,6000,9000,12000,15000,18000,21000,24000,27000,30000,-- Liv 1-10
66000,72000,78000,84000,90000,96000,102000,108000,101400,120000,-- Liv 11-20
126000,132000,138000,144000,150000,156000,162000,168000,174000,180000,-- Liv 21-30
186000,202000,208000,214000,220000,226000,232000,238000,244000,480000,-- Liv 31-40
492000,504000,516000,528000,540000,552000,564000,576000,588000,650000,-- Liv 41-50
153000,156000,159000,162000,165000,168000,171000,174000,177000,180000,-- Liv 51-60
183000,186000,189000,192000,195000,198000,201000,204000,207000,210000,-- Liv 61-70
213000,216000,219000,222000,225000,228000,231000,234000,237000,240000,-- Liv 71-80
243000,246000,249000,252000,255000,258000,261000,264000,267000,270000,-- Liv 81-90
273000,276000,279000,282000,285000,288000,291000,294000,297000,300000,-- Liv 91-100
3030000,3060000,3090000,3120000,3150000,3180000,3210000,3240000,3270000,0-- Liv 101-110
}
}
-- Pet 2
PetSystem[2] =
{['Name'] = "Lodowy Feniks", ['Level'] = 23, ['Item'] = 53002, ['pet'] = 1, ['MaxLevel'] = 99, ['WindowSize'] = 395,
['Skill']= {
{['type']=apply.MAX_HP,['name']="Max HP",['max_points']=30,['min_level']=1,['desc']="+100HP",['mult']=100,['tag']=" HP"},
{['type']=apply.INT,['name']="Zeka",['max_points']=15,['min_level']=1,['desc']="+1 INT",['mult']=1,['tag']=" Zeka"},
{['type']=apply.STR,['name']="Guc",['max_points']=15,['min_level']=1,['desc']="+1 STR",['mult']=1,['tag']=" Guc"},
{['type']=apply.DEX,['name']="Ceviklik",['max_points']=15,['min_level']=1,['desc']="+1 DEX",['mult']=1,['tag']=" Ceviklik"},
{['type']=apply.PENETRATE_PCT,['name']="Delici vurus",['max_points']=15,['min_level']=30,['desc']="+1% Delici vurus",['mult']=1,['tag']="% Delici"},
{['type']=apply.CRITICAL_PCT,['name']="Kritik vurus",['max_points']=15,['min_level']=60,['desc']="+1% Kritik vurus",['mult']=1,['tag']="% Kritik"},
{['type']=apply.ATTBONUS_MONSTER,['name']="Canavarlara karsi guc",['max_points']=10,['min_level']=90,['desc']="+1% Canavara karsi guc",['mult']=1,['tag']="% Canavarlara karsi guc"}
},
['ExpTable'] = {3000,6000,9000,12000,15000,18000,21000,24000,27000,30000,-- Liv 1-10
66000,72000,78000,84000,90000,96000,102000,108000,101400,120000,-- Liv 11-20
126000,132000,138000,144000,150000,156000,162000,168000,174000,180000,-- Liv 21-30
186000,202000,208000,214000,220000,226000,232000,238000,244000,480000,-- Liv 31-40
492000,504000,516000,528000,540000,552000,564000,576000,588000,650000,-- Liv 41-50
153000,156000,159000,162000,165000,168000,171000,174000,177000,180000,-- Liv 51-60
183000,186000,189000,192000,195000,198000,201000,204000,207000,210000,-- Liv 61-70
213000,216000,219000,222000,225000,228000,231000,234000,237000,240000,-- Liv 71-80
243000,246000,249000,252000,255000,258000,261000,264000,267000,270000,-- Liv 81-90
273000,276000,279000,282000,285000,288000,291000,294000,297000,300000,-- Liv 91-100
3030000,3060000,3090000,3120000,3150000,3180000,3210000,3240000,3270000,0-- Liv 101-110
}
}
Pet Level Fonksiyonu Nedir?
Metin2 sunucularında geliştirilen quest sistemleri arasında Pet Level Fonksiyonu, oyuncuların pet karakterlerini daha güçlü hale getirmelerini sağlayan önemli bir özelliktir. Bu fonksiyon sayesinde petler, belirli görevleri tamamlayarak seviye atlayabilir, daha fazla can,攻击力 ve diğer özellikler kazanabilir. Pet Level Fonksiyonu, Metin2 quest geliştirme sürecinde sıkça kullanılan bir yöntemdir ve genellikle Lua diliyle yazılmaktadır.
Pet Level Fonksiyonunun Temel Özellikleri
Pet Level Fonksiyonları, oyuncuların petlerini geliştirmeleri için tasarlanmış quest tabanlı sistemlerdir. Bu sistemlerde petler, görevleri tamamlayarak tecrübe puanı kazanır ve belirli puanlara ulaştığında seviye atlar. Seviye atlama sırasında petlerin bazı istatistikleri artar. Bu özellik, Metin2 özel quest sistemleri içinde önemli bir yere sahiptir.
Pet Level Fonksiyonu Nasıl Çalışır?
Pet Level Fonksiyonu, genellikle Lua dilinde yazılmış özel quest dosyalarıyla çalışır. Oyuncu, belirli bir görevi tamamladığında, pet karakteri için deneyim puanı (XP) kazanılır. Bu XP miktarı, quest scriptlerinde tanımlanmıştır. Quest sistemleri, petlerin seviye atlama koşullarını belirlemek için trigger, flag, timer gibi komutlar kullanır. Bu süreçte quest debug işlemleri, hataların düzeltilmesi için önemlidir.
Quest Dosyası Nasıl Hazırlanır?
Metin2 quest yazma sürecinde Pet Level Fonksiyonu için özel bir quest dosyası hazırlanmalıdır. Bu dosya genellikle Lua formatında olup, pet ile ilgili görevlerin tanımlandığı scriptleri içerir. Bu scriptlerde petin hangi görevleri tamamlaması gerektiği, ne kadar XP kazandığı, hangi seviyelerde hangi bonusları alacağı gibi bilgiler yer alır. Quest dosyası doğru şekilde yapılandırılmazsa sistem beklendiği gibi çalışmayabilir.
Pet Level Sisteminde Görev Zinciri (Chain Quests)
Pet Level Fonksiyonları, bazen birbiriyle bağlantılı görevlerden oluşan zincirleme quest sistemleriyle çalışır. Bu tür sistemlerde, oyuncu önce bir görevi tamamlar, ardından bir sonraki görev aktif olur. Bu görev zinciri, petlerin seviyelerini artırmak için adım adım ilerlemelerini sağlar. Chain quests, Metin2 quest geliştirme sürecinde daha karmaşık ancak daha eğlenceli sistemler oluşturur.
Daily Quest ve Pet Level Artışı
Bazı Metin2 sunucularında günlük görevler (daily quest) ile pet level artırma sistemi entegre edilmiştir. Günlük görevlerin tamamlanması, petin deneyim kazanmasına yardımcı olur. Bu tür sistemler, oyuncuların daha aktif kalmasını ve petlerini geliştirmeye devam etmesini sağlar. Daily quest sistemi, pet level fonksiyonuna ek olarak tekrarlayan görevlerle oyuncu etkileşimini artırır.
Pet Level Fonksiyonunda Hata Ayıklama
Metin2 quest hata çözümleri sırasında Pet Level Fonksiyonunda oluşabilecek sorunlar dikkatlice incelenmelidir. Quest debug işlemleri, Lua scriptlerinde yapılan yazım hataları, flag ayarlamaları veya timer ayarlamalarında meydana gelen problemleri gidermek için gereklidir. Doğru hata ayıklama ile pet level sistemi daha kararlı çalışır.
Özetle
Pet Level Fonksiyonu, Metin2 özel quest sistemlerinde pet gelişimini destekleyen önemli bir özelliktir. Lua diliyle yazılmış quest dosyaları, petlerin görevleri tamamlayarak seviye atlamasını sağlar. Quest geliştirme, debug işlemleri ve görev zincirleri ile bu sistem daha da zenginleştirilebilir. Daily quest entegrasyonu gibi ekstra özelliklerle pet level sistemi daha da ilgi çekici hale gelir.
What is Pet Level Function?
In Metin2 servers, the Pet Level Function is one of the key features within quest systems that allow players to strengthen their pet characters. Through this function, pets can gain experience by completing specific tasks, leveling up, and receiving increased health,攻击力 and other stats. The Pet Level Function is commonly used in Metin2 quest development and typically written in Lua language.
Key Features of Pet Level Functions
Pet Level Functions are quest-based systems designed for enhancing player pets. In these systems, pets earn experience points (XP) upon completing tasks and level up once they reach certain thresholds. Each level-up increases the pet's stats. This feature holds significant importance in Metin2 custom quest systems.
How Does Pet Level Function Work?
The Pet Level Function operates through specially coded quest files written in Lua. When a player completes a given task, their pet gains XP according to the script defined in the quest file. Quest scripts use commands like triggers, flags, and timers to determine the conditions under which pets can level up. Debugging these quests is crucial to ensure smooth operation and resolve any potential errors.
How to Create a Quest File?
To implement a Pet Level Function, a dedicated quest file must be created using Lua scripting. This file includes details such as what tasks the pet must complete, how much XP it gains, and what bonuses it receives at each level. Incorrect configuration of the quest file may result in malfunctioning of the system.
Quest Chains in Pet Level Systems
Pet Level Functions often work with linked quest chains where completing one quest activates another. These interconnected tasks allow pets to gradually increase their levels through step-by-step progression. Quest chains add complexity and engagement to Metin2 quest development, making the gameplay more immersive.
Daily Quests and Pet Level Increases
Some Metin2 servers integrate daily quests with pet level progression. Completing daily tasks allows pets to gain experience, encouraging players to stay active and continue developing their pets. Daily quests enhance interaction and maintain consistent engagement within the pet level system.
Debugging Pet Level Functions
When troubleshooting Metin2 quest errors, issues related to the Pet Level Function must be carefully examined. Debugging involves identifying and fixing syntax errors, flag configurations, or timer settings in Lua scripts. Proper debugging ensures stable performance of the pet level system.
In Summary
The Pet Level Function is a vital component in Metin2 custom quest systems that supports pet development. Lua-coded quest files allow pets to level up by completing tasks. With proper quest development, debugging, and chained quests, the system can be enriched further. Integration with features like daily quests makes the pet level system even more engaging.
-- Classe
PetSystem = {['Folder'] = QuestFolder.."/pet/", ['ItemExp'] = 3000, ['UpdateFrequency'] = 30, ['Flag'] = "active_pet", ['ExpFlag'] = "exp_blocked"}
-- Pet 1
PetSystem[1] =
{['Name'] = "Ates Ankasi", ['Level'] = 22, ['Item'] = 53001, ['pet'] = 1, ['MaxLevel'] = 99, ['WindowSize'] = 395,
['Skill']= {
{['type']=apply.MAX_HP,['name']="Max HP",['max_points']=20,['min_level']=1,['desc']="+100HP",['mult']=100,['tag']=" HP"},
{['type']=apply.INT,['name']="Zeka",['max_points']=10,['min_level']=1,['desc']="+1 INT",['mult']=1,['tag']=" Zeka"},
{['type']=apply.STR,['name']="Guc",['max_points']=10,['min_level']=1,['desc']="+1 STR",['mult']=1,['tag']=" Guc"},
{['type']=apply.DEX,['name']="Ceviklik",['max_points']=10,['min_level']=1,['desc']="+1 DEX",['mult']=1,['tag']=" Ceviklik"},
{['type']=apply.PENETRATE_PCT,['name']="Delici vurus",['max_points']=15,['min_level']=5,['desc']="+1% Delici vurus",['mult']=1,['tag']="% Delici"},
{['type']=apply.CRITICAL_PCT,['name']="Kritik vurus",['max_points']=15,['min_level']=5,['desc']="+1% Kritik vurus",['mult']=1,['tag']="% Kritik"},
{['type']=apply.ATTBONUS_MONSTER,['name']="Canavarlara karsi guc",['max_points']=10,['min_level']=90,['desc']="+1% Canavara karsi guc",['mult']=1,['tag']="% Canavarlara karsi guc"},
{['type']=apply.MOV_SPEED,['name']="Hareket hizi'",['max_points']=10,['min_level']=90,['desc']="+1% Buyu hizi",['mult']=1,['tag']="% Hareket hizi"}
},
['ExpTable'] = {3000,6000,9000,12000,15000,18000,21000,24000,27000,30000,-- Liv 1-10
66000,72000,78000,84000,90000,96000,102000,108000,101400,120000,-- Liv 11-20
126000,132000,138000,144000,150000,156000,162000,168000,174000,180000,-- Liv 21-30
186000,202000,208000,214000,220000,226000,232000,238000,244000,480000,-- Liv 31-40
492000,504000,516000,528000,540000,552000,564000,576000,588000,650000,-- Liv 41-50
153000,156000,159000,162000,165000,168000,171000,174000,177000,180000,-- Liv 51-60
183000,186000,189000,192000,195000,198000,201000,204000,207000,210000,-- Liv 61-70
213000,216000,219000,222000,225000,228000,231000,234000,237000,240000,-- Liv 71-80
243000,246000,249000,252000,255000,258000,261000,264000,267000,270000,-- Liv 81-90
273000,276000,279000,282000,285000,288000,291000,294000,297000,300000,-- Liv 91-100
3030000,3060000,3090000,3120000,3150000,3180000,3210000,3240000,3270000,0-- Liv 101-110
}
}
-- Pet 2
PetSystem[2] =
{['Name'] = "Lodowy Feniks", ['Level'] = 23, ['Item'] = 53002, ['pet'] = 1, ['MaxLevel'] = 99, ['WindowSize'] = 395,
['Skill']= {
{['type']=apply.MAX_HP,['name']="Max HP",['max_points']=30,['min_level']=1,['desc']="+100HP",['mult']=100,['tag']=" HP"},
{['type']=apply.INT,['name']="Zeka",['max_points']=15,['min_level']=1,['desc']="+1 INT",['mult']=1,['tag']=" Zeka"},
{['type']=apply.STR,['name']="Guc",['max_points']=15,['min_level']=1,['desc']="+1 STR",['mult']=1,['tag']=" Guc"},
{['type']=apply.DEX,['name']="Ceviklik",['max_points']=15,['min_level']=1,['desc']="+1 DEX",['mult']=1,['tag']=" Ceviklik"},
{['type']=apply.PENETRATE_PCT,['name']="Delici vurus",['max_points']=15,['min_level']=30,['desc']="+1% Delici vurus",['mult']=1,['tag']="% Delici"},
{['type']=apply.CRITICAL_PCT,['name']="Kritik vurus",['max_points']=15,['min_level']=60,['desc']="+1% Kritik vurus",['mult']=1,['tag']="% Kritik"},
{['type']=apply.ATTBONUS_MONSTER,['name']="Canavarlara karsi guc",['max_points']=10,['min_level']=90,['desc']="+1% Canavara karsi guc",['mult']=1,['tag']="% Canavarlara karsi guc"}
},
['ExpTable'] = {3000,6000,9000,12000,15000,18000,21000,24000,27000,30000,-- Liv 1-10
66000,72000,78000,84000,90000,96000,102000,108000,101400,120000,-- Liv 11-20
126000,132000,138000,144000,150000,156000,162000,168000,174000,180000,-- Liv 21-30
186000,202000,208000,214000,220000,226000,232000,238000,244000,480000,-- Liv 31-40
492000,504000,516000,528000,540000,552000,564000,576000,588000,650000,-- Liv 41-50
153000,156000,159000,162000,165000,168000,171000,174000,177000,180000,-- Liv 51-60
183000,186000,189000,192000,195000,198000,201000,204000,207000,210000,-- Liv 61-70
213000,216000,219000,222000,225000,228000,231000,234000,237000,240000,-- Liv 71-80
243000,246000,249000,252000,255000,258000,261000,264000,267000,270000,-- Liv 81-90
273000,276000,279000,282000,285000,288000,291000,294000,297000,300000,-- Liv 91-100
3030000,3060000,3090000,3120000,3150000,3180000,3210000,3240000,3270000,0-- Liv 101-110
}
}
Pet Level Fonksiyonu Nedir?
Metin2 sunucularında geliştirilen quest sistemleri arasında Pet Level Fonksiyonu, oyuncuların pet karakterlerini daha güçlü hale getirmelerini sağlayan önemli bir özelliktir. Bu fonksiyon sayesinde petler, belirli görevleri tamamlayarak seviye atlayabilir, daha fazla can,攻击力 ve diğer özellikler kazanabilir. Pet Level Fonksiyonu, Metin2 quest geliştirme sürecinde sıkça kullanılan bir yöntemdir ve genellikle Lua diliyle yazılmaktadır.
Pet Level Fonksiyonunun Temel Özellikleri
Pet Level Fonksiyonları, oyuncuların petlerini geliştirmeleri için tasarlanmış quest tabanlı sistemlerdir. Bu sistemlerde petler, görevleri tamamlayarak tecrübe puanı kazanır ve belirli puanlara ulaştığında seviye atlar. Seviye atlama sırasında petlerin bazı istatistikleri artar. Bu özellik, Metin2 özel quest sistemleri içinde önemli bir yere sahiptir.
Pet Level Fonksiyonu Nasıl Çalışır?
Pet Level Fonksiyonu, genellikle Lua dilinde yazılmış özel quest dosyalarıyla çalışır. Oyuncu, belirli bir görevi tamamladığında, pet karakteri için deneyim puanı (XP) kazanılır. Bu XP miktarı, quest scriptlerinde tanımlanmıştır. Quest sistemleri, petlerin seviye atlama koşullarını belirlemek için trigger, flag, timer gibi komutlar kullanır. Bu süreçte quest debug işlemleri, hataların düzeltilmesi için önemlidir.
Quest Dosyası Nasıl Hazırlanır?
Metin2 quest yazma sürecinde Pet Level Fonksiyonu için özel bir quest dosyası hazırlanmalıdır. Bu dosya genellikle Lua formatında olup, pet ile ilgili görevlerin tanımlandığı scriptleri içerir. Bu scriptlerde petin hangi görevleri tamamlaması gerektiği, ne kadar XP kazandığı, hangi seviyelerde hangi bonusları alacağı gibi bilgiler yer alır. Quest dosyası doğru şekilde yapılandırılmazsa sistem beklendiği gibi çalışmayabilir.
Pet Level Sisteminde Görev Zinciri (Chain Quests)
Pet Level Fonksiyonları, bazen birbiriyle bağlantılı görevlerden oluşan zincirleme quest sistemleriyle çalışır. Bu tür sistemlerde, oyuncu önce bir görevi tamamlar, ardından bir sonraki görev aktif olur. Bu görev zinciri, petlerin seviyelerini artırmak için adım adım ilerlemelerini sağlar. Chain quests, Metin2 quest geliştirme sürecinde daha karmaşık ancak daha eğlenceli sistemler oluşturur.
Daily Quest ve Pet Level Artışı
Bazı Metin2 sunucularında günlük görevler (daily quest) ile pet level artırma sistemi entegre edilmiştir. Günlük görevlerin tamamlanması, petin deneyim kazanmasına yardımcı olur. Bu tür sistemler, oyuncuların daha aktif kalmasını ve petlerini geliştirmeye devam etmesini sağlar. Daily quest sistemi, pet level fonksiyonuna ek olarak tekrarlayan görevlerle oyuncu etkileşimini artırır.
Pet Level Fonksiyonunda Hata Ayıklama
Metin2 quest hata çözümleri sırasında Pet Level Fonksiyonunda oluşabilecek sorunlar dikkatlice incelenmelidir. Quest debug işlemleri, Lua scriptlerinde yapılan yazım hataları, flag ayarlamaları veya timer ayarlamalarında meydana gelen problemleri gidermek için gereklidir. Doğru hata ayıklama ile pet level sistemi daha kararlı çalışır.
Özetle
Pet Level Fonksiyonu, Metin2 özel quest sistemlerinde pet gelişimini destekleyen önemli bir özelliktir. Lua diliyle yazılmış quest dosyaları, petlerin görevleri tamamlayarak seviye atlamasını sağlar. Quest geliştirme, debug işlemleri ve görev zincirleri ile bu sistem daha da zenginleştirilebilir. Daily quest entegrasyonu gibi ekstra özelliklerle pet level sistemi daha da ilgi çekici hale gelir.
What is Pet Level Function?
In Metin2 servers, the Pet Level Function is one of the key features within quest systems that allow players to strengthen their pet characters. Through this function, pets can gain experience by completing specific tasks, leveling up, and receiving increased health,攻击力 and other stats. The Pet Level Function is commonly used in Metin2 quest development and typically written in Lua language.
Key Features of Pet Level Functions
Pet Level Functions are quest-based systems designed for enhancing player pets. In these systems, pets earn experience points (XP) upon completing tasks and level up once they reach certain thresholds. Each level-up increases the pet's stats. This feature holds significant importance in Metin2 custom quest systems.
How Does Pet Level Function Work?
The Pet Level Function operates through specially coded quest files written in Lua. When a player completes a given task, their pet gains XP according to the script defined in the quest file. Quest scripts use commands like triggers, flags, and timers to determine the conditions under which pets can level up. Debugging these quests is crucial to ensure smooth operation and resolve any potential errors.
How to Create a Quest File?
To implement a Pet Level Function, a dedicated quest file must be created using Lua scripting. This file includes details such as what tasks the pet must complete, how much XP it gains, and what bonuses it receives at each level. Incorrect configuration of the quest file may result in malfunctioning of the system.
Quest Chains in Pet Level Systems
Pet Level Functions often work with linked quest chains where completing one quest activates another. These interconnected tasks allow pets to gradually increase their levels through step-by-step progression. Quest chains add complexity and engagement to Metin2 quest development, making the gameplay more immersive.
Daily Quests and Pet Level Increases
Some Metin2 servers integrate daily quests with pet level progression. Completing daily tasks allows pets to gain experience, encouraging players to stay active and continue developing their pets. Daily quests enhance interaction and maintain consistent engagement within the pet level system.
Debugging Pet Level Functions
When troubleshooting Metin2 quest errors, issues related to the Pet Level Function must be carefully examined. Debugging involves identifying and fixing syntax errors, flag configurations, or timer settings in Lua scripts. Proper debugging ensures stable performance of the pet level system.
In Summary
The Pet Level Function is a vital component in Metin2 custom quest systems that supports pet development. Lua-coded quest files allow pets to level up by completing tasks. With proper quest development, debugging, and chained quests, the system can be enriched further. Integration with features like daily quests makes the pet level system even more engaging.
