Jump to content

Reparación bugs skill core vanilla 74k lycan


ByBoom
 Share

Recommended Posts

locale_string.txt
"Defense chance against claws +%d%%";
"Defense chance against claws +%d%%";
"Strong against Lycans +%d%%";
"Strong against Lycans +%d%%";
"Defense chance against Lycan attacks %d%%";
"Defense chance against Lycan attacks %d%%";
locale.lua
-- <
-- Search "locale.GM_SKILL_NAME_DICT = {" and change with:
locale.GM_SKILL_NAME_DICT = {
[1] = "Three-Way Cut",
[2] = "Sword Spin",
[3] = "Berserk Fury",
[4] = "Aura of the Sword",
[5] = "Dash",
[16] = "Spirit Strike (W)",
[17] = "Bash",
[18] = "Stump",
[19] = "Strong Body",
[20] = "Sword Strike",
[31] = "Ambush",
[32] = "Fast Attack",
[33] = "Rolling Dagger",
[34] = "Stealth Silent",
[35] = "Poisonous Cloud",
[46] = "Repetitive Shot",
[47] = "Arrow Shower",
[48] = "Fire Arrow",
[49] = "Feather Walk",
[50] = "Poison Arrow",
[61] = "Finger Strike",
[62] = "Dragon Swirl",
[63] = "Enchanted Blade",
[64] = "Fear",
[65] = "Enchanted Armour",
[66] = "Dispel",
[76] = "Dark Strike",
[77] = "Flame Strike",
[78] = "Flame Spirit",
[79] = "Dark Protection",
[80] = "Spirit Strike (S)",
[81] = "Dark Orb",
[91] = "Flying Talisman",
[92] = "Shooting Dragon",
[93] = "Dragon's Roar",
[94] = "Blessing",
[95] = "Reflect",
[96] = "Dragon's Strength",
[106] = "Lightning Throw",
[107] = "Summon Lightning",
[108] = "Lightning Claw",
[109] = "Cure",
[110] = "Swiftness'",
[111] = "Attack Up",
[170] = "Shred",
[171] = "Wolf's Breath",
[172] = "Wolf Pounce",
[173] = "Wolf's Claw",
[174] = "Purple Wolf Soul",
[175] = "Indigo Wolf Soul"
}
-- >

questlib.lua

-- <
-- Search "SHAMAN = 3" and after that line add:
WOLF = 4




-- Search "COND_SHAMAN = 28672" and after that line add:
COND_WOLF_0 = 32768
COND_WOLF_1 = 65536
COND_WOLF_2 = 131072
COND_WOLF = 229376




-- Search "WEAPON_MOUNT_SPEAR = 7" and after that line add:
WEAPON_CLAW = 8




-- Search "POINT_PC_BANG_DROP_BONUS = 126" and after that line add:
POINT_ATTBONUS_WOLF = 127
POINT_RESIST_WOLF = 128
POINT_RESIST_CLAW = 129




-- Search "SHAMAN2_NPC_LIST = {20307, 20327, 20347,}" and after that line add:
WOLF1_NPC_LIST = {20402, 20402, 20402,}
WOLF2_NPC_LIST = {20402, 20402, 20402,}




-- Search "["NORMAL_HIT_DEFEND_BONUS"] = 74," and after that line add:
["ATTBONUS_WOLFMAN"] = 92,
["RESIST_WOLF"] = 93,
["RESIST_CLAW"] = 94,




-- Search "function npc_is_same_job()" and change with:
function npc_is_same_job()
local pc_job = pc.get_job()
local npc_vnum = npc.get_race()


if pc_job == 0 then
if table_is_in(WARRIOR1_NPC_LIST, npc_vnum) then
return true
end


if table_is_in(WARRIOR2_NPC_LIST, npc_vnum) then
return true
end
elseif pc_job == 1 then
if table_is_in(ASSASSIN1_NPC_LIST, npc_vnum) then
return true
end


if table_is_in(ASSASSIN2_NPC_LIST, npc_vnum) then
return true
end
elseif pc_job == 2 then
if table_is_in(SURA1_NPC_LIST, npc_vnum) then
return true
end


if table_is_in(SURA2_NPC_LIST, npc_vnum) then
return true
end
elseif pc_job == 3 then
if table_is_in(SHAMAN1_NPC_LIST, npc_vnum) then
return true
end


if table_is_in(SHAMAN2_NPC_LIST, npc_vnum) then
return true
end
elseif pc_job == 4 then
if table_is_in(WOLF1_NPC_LIST, npc_vnum) then
return true
end


if table_is_in(WOLF2_NPC_LIST, npc_vnum) then
return true
end
end


return false
end




-- Search "function npc_get_job()" and change with:
function npc_get_job()
local npc_vnum = npc.get_race()


if table_is_in(WARRIOR1_NPC_LIST, npc_vnum) then
return COND_WARRIOR_1
end


if table_is_in(WARRIOR2_NPC_LIST, npc_vnum) then
return COND_WARRIOR_2
end


if table_is_in(ASSASSIN1_NPC_LIST, npc_vnum) then
return COND_ASSASSIN_1
end


if table_is_in(ASSASSIN2_NPC_LIST, npc_vnum) then
return COND_ASSASSIN_2
end


if table_is_in(SURA1_NPC_LIST, npc_vnum) then
return COND_SURA_1
end


if table_is_in(SURA2_NPC_LIST, npc_vnum) then
return COND_SURA_2
end


if table_is_in(SHAMAN1_NPC_LIST, npc_vnum) then
return COND_SHAMAN_1
end


if table_is_in(SHAMAN2_NPC_LIST, npc_vnum) then
return COND_SHAMAN_2
end


if table_is_in(WOLF1_NPC_LIST, npc_vnum) then
return COND_WOLF_1
end


if table_is_in(WOLF2_NPC_LIST, npc_vnum) then
return COND_WOLF_2
end


return 0
end




-- Search "function npc_get_skill_teacher_race(pc_empire, pc_job, sub_job)" and change with:
function npc_get_skill_teacher_race(pc_empire, pc_job, sub_job)
if sub_job == 1 then
if pc_job == 0 then
return WARRIOR1_NPC_LIST[pc_empire]
elseif pc_job == 1 then
return ASSASSIN1_NPC_LIST[pc_empire]
elseif pc_job == 2 then
return SURA1_NPC_LIST[pc_empire]
elseif pc_job == 3 then
return SHAMAN1_NPC_LIST[pc_empire]
elseif pc_job == 4 then
return WOLF1_NPC_LIST[pc_empire]
end
elseif sub_job == 2 then
if pc_job == 0 then
return WARRIOR2_NPC_LIST[pc_empire]
elseif pc_job == 1 then
return ASSASSIN2_NPC_LIST[pc_empire]
elseif pc_job == 2 then
return SURA2_NPC_LIST[pc_empire]
elseif pc_job == 3 then
return SHAMAN2_NPC_LIST[pc_empire]
elseif pc_job == 4 then
return WOLF2_NPC_LIST[pc_empire]
end
end


return 0
end
-- >

skill_power.txt

170 Â÷¿ 5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
172 ȓdz 5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
173 °ø´äÂü 5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
174 Æļâ 5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
175 Àû¶ûºùÀÇ 5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
176 û¶ûºùÀÇ 5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150

 

Fuente: Metin2 Area

Link to comment
Share on other sites

  • 6 months later...
  • Dilong locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...