Originally Posted by ismokedrow
Redemption Repack v1.04
Brought to you by: iSmokeDrow
The long awaited Repack v1.04 is finally here, bolstering a ton of new features and fixes that are a conglomeration of local EPVP Community, Redemption Community and NCarbon Community Updates and Fixes. This repack also includes New Unseen features such as Gen Points 2.0 and has the framework for the upcoming Rebirth 2.0 (Planned for release in our last repack before the emulator.)
Whats changed from v1.02?
- DB Optimization (NCarbon)
- Faster Load Times (NCarbon)
- Sanctuary Fixed (NCarbon)
- TOA/TOE Fixed (Seyitkara, repacked by NCarbon)
- TOE-H Implemented (iSmokeDrow)
- Drops corrected (EGurgle)
- Neo Dragons Nest (iSmokeDrow)
- Optimized GS/AS.opt's (iSmokeDrow)
- Teleporters Rewritten (iSmokeDrow)
- Auto Buffer Rewritten (iSmokeDrow)
- Merchant Rewritten (iSmokeDrow)
- Pet Supporter Rewriteen (iSmokeDrow)
- All Shop Updates + Prices (iSmokeDrow)
- HV Rewritten (iSmokeDrow)
- HV Buffer Altered (iSmokeDrow)
- All Mount Shops Rewritten (iSmokeDrow)
- NEW XP to GP (New Gen System) implemented (iSmokeDrow)
- Several LUA's Whitespace removed and Gibberish Characters Removed (iSmokeDrow)
- NM/Uni Taming Fixed (Raskim of EPVP)
- Trainee Island Teleporter Rewritten (iSmokeDrow)
-- Now allows 7.1 client users to leave Trainee Island without completing any quests.
- Client Support Updated to 7.1 (JW988 + NCarbon)
-- Support for Ice Maiden, Death Tyrant, Joker and Abomination
-- Support for the New Veiled Island
- Server Selection Web Folder Added (iSmokeDrow)
The above change log may NOT reflect all current changes but is mostly complete to my knowledge.
What has NOT changed?
- Skill Bars
- Quest Fixes for 7.1 Clients
- Sounds for 7.1 Clients
- Taming for Ice Maiden, Death Tyrant, Joker and Abomination
- Character Creation for 7.1 Clients
- COR Shops (Basic E-Pro and Ancient Cube Elements are already in shops)
WARNING!
First Warning: This repack is not intended for beginners and thus will not cater to your every want and whim when it comes to tutorial files.
Second Warning: Redemption/NCarbon DO NOT offer support for 7.1 Clients, if you ask you will be ignored.
Third Warning: If you are not using the Arcadia.bak included in this Release do not even ask a question for support as we will give no support for those who do not.
Fourth Warning: Gen Points 2.0 is NOT YET COMPLETED but all core functions and the following shops are functional:
-- Bags, Feathers, Looters, Pieces, Lak Neck Upgrades, GMFB, Stamina Savers
Fifth Warning: By downloading and operating the contents of this repack you are bound to give credit to iSmokeDrow for any alteration to his work.
Where can I download it?
[Only registered and activated users can see links. Click Here To Register...]
All thanks and Credits belong to all of us Developers and Volunteers that put our precious time into working and reworking these files for ease of use and betterment. As always, I hope you enjoy them and even more so:
URGENT UPDATE!!!
Open your NPC Buff and delete it's contents then paste the contents of the below spoiler and save!!! This will correct the Auto Buffer not giving HV Tickets, sorry for the mix up.
function get_module_name()
return "NPC_Buff"
end
--================================================== ==========
-- <<<<<< 2. Druid Kart >>>>>>
--================================================== ==========
function hidden_village_buffer()
local npc_id = get_npc_id()
if npc_id == 11225 then
dlg_title("Madosa Kart")
else
dlg_title("Druid Kart")
end
if is_premium() then
dlg_text("Would you like some buffs?")
dlg_menu("Can you please buff me?", "druid_kart_select_player()")
dlg_menu("Can you please buff my creature?", "druid_kart_select_creature()")
dlg_menu("Goodbye!", "")
dlg_show()
else
is_not_premium_error()
end
end
function druid_kart_select_player()
local npc_id = get_npc_id()
if npc_id == 11225 then
dlg_title("@105011225")
else
dlg_title("Druid Kart")
end
if is_premium() then
dlg_text("Which buff do you want?")
dlg_menu("Physical Attack - 1,000R", "druid_kart_give_player(1007)")
dlg_menu("Magical Attack - 1,000R", "druid_kart_give_player(1008)")
dlg_menu("Physical Defense - 1,000R", "druid_kart_give_player(1009)")
dlg_menu("Magical Defense - 1,000R", "druid_kart_give_player(1010)")
dlg_menu("Attack Speed - 1,000R", "druid_kart_give_player(1011)")
dlg_menu("Cast Speed - 1,000R", "druid_kart_give_player(1012)")
dlg_menu("Movement Speed - 1,000R", "druid_kart_give_player(1013)")
dlg_menu("Get All Buffs - 7,000R", "druid_kart_give_player(0)")
dlg_menu("Nevermind.", "hidden_village_buffer()")
dlg_menu("Goodbye!", "")
dlg_show()
else
is_not_premium_error()
end
end
function druid_kart_select_creature()
local npc_id = get_npc_id()
if npc_id == 11225 then
dlg_title("Madosa Kart")
else
dlg_title("Druid Kart")
end
if is_premium() then
dlg_text("Which buff do you want?")
dlg_menu("Physical Attack - 1,000R", "druid_kart_give_creature(1007)")
dlg_menu("Magical Attack - 1,000R", "druid_kart_give_creature(1008)")
dlg_menu("Physical Defense - 1,000R", "druid_kart_give_creature(1009)")
dlg_menu("Magical Defense - 1,000R", "druid_kart_give_creature(1010)")
dlg_menu("Attack Speed - 1,000R", "druid_kart_give_creature(1011)")
dlg_menu("Cast Speed - 1,000R", "druid_kart_give_creature(1012)")
dlg_menu("Movement Speed - 1,000R", "druid_kart_give_creature(1013)")
dlg_menu("Get All Buffs - 7,000R", "druid_kart_give_creature(0)")
dlg_menu("Nevermind.", "hidden_village_buffer()")
dlg_menu("Goodbye!", "")
dlg_show()
else
is_not_premium_error()
end
end
function druid_kart_give_player(buffcode)
local npc_id = get_npc_id()
if npc_id == 11225 then
dlg_title("Madosa Kart")
else
dlg_title("Druid Kart")
end
local gold = get_value("gold")
gold = tonumber(gold)
if buffcode == 0 then
if gold >= 7000 then
sv("gold", gold-7000)
update_gold_chaos()
add_state(1007, 8, 900000)
add_state(1008, 8, 900000)
add_state(1009, 8, 900000)
add_state(1010, 8, 900000)
add_state(1011, 8, 900000)
add_state(1012, 8, 900000)
add_state(1013, 8, 900000)
druid_kart_select_player()
else
dlg_text("Sorry, you do not have enough money.")
dlg_menu("Goodbye!", "")
dlg_show()
end
else
if gold >= 1000 then
sv("gold", gold-1000)
update_gold_chaos()
add_state("" .. buffcode .. "", 6, 900000)
druid_kart_select_player()
else
dlg_text("Sorry, you do not have enough money.")
dlg_menu("Goodbye!", "")
dlg_show()
end
end
end
function druid_kart_give_creature(buffcode)
local npc_id = get_npc_id()
if npc_id == 11225 then
dlg_title("Madosa Kart")
else
dlg_title("Druid Kart")
end
local gold = get_value("gold")
gold = tonumber(gold)
if buffcode == 0 then
if gold >= 7000 then
sv("gold", gold-7000)
update_gold_chaos()
add_cstate(1007, 8, 900000)
add_cstate(1008, 8, 900000)
add_cstate(1009, 8, 900000)
add_cstate(1010, 8, 900000)
add_cstate(1011, 8, 900000)
add_cstate(1012, 8, 900000)
add_cstate(1013, 8, 900000)
druid_kart_select_creature()
else
dlg_text("Sorry, you do not have enough money.")
dlg_menu("Goodbye!", "")
dlg_show()
end
else
if gold >= 1000 then
sv("gold", gold-1000)
update_gold_chaos()
add_cstate("" .. buffcode .. "", 6, 900000)
druid_kart_select_creature()
else
dlg_text("Sorry, you do not have enough money.")
dlg_menu("Goodbye!", "")
dlg_show()
end
end
end
--================================================== ==========
-- <<<<<< Is Eligible Buff Check >>>>>>
--================================================== ==========
function is_eligible()
local lv = gv("level")
local has_buff = get_state_level( 163429 )
if lv > 100 and has_buff > 1 then
hv_pass_remove()
hv_pass_give()
hv_ticket_give()
elseif lv > 1 and has_buff == 0 then
permanentserverbuff_remove()
temporaryserverbuff_remove()
buff_under_20_remove()
buff_above_20_remove()
buff_above_50_remove()
buff_above_80_remove()
buff_above_100_remove()
buff_above_120_remove()
buff_above_150_remove()
buff_above_160_remove()
buff_at_170_remove()
buff_pet_below_100_remove()
buff_pet_above_100_remove()
permanentserverbuff_give()
temporaryserverbuff_give()
buff_under_20_give()
buff_above_20_give()
buff_above_50_give()
buff_above_80_give()
buff_above_100_give()
buff_above_120_give()
buff_above_150_give()
buff_above_160_give()
buff_at_170_give()
--================================================== ==========
-- <<<<<< Auto Buff 150-160 Set Effect: Start >>>>>>
--================================================== ==========
--Original Credits to: MisterD and gr4ph0s
--Alteration Credits to: iSmokeDrow
--150 Set Bonus
trigger_effect_150_1()
trigger_effect_150_2()
trigger_effect_150_3()
trigger_effect_150_4()
--155 Set Bonus
trigger_effect_155_1()
trigger_effect_155_2()
trigger_effect_155_3()
trigger_effect_155_4()
--160 Set Bonus
trigger_effect_160_1()
trigger_effect_160_2()
trigger_effect_160_3()
trigger_effect_160_4()
--================================================== ==========
-- <<<<<< Auto Buff 150-160 Set Effect: End >>>>>>
--================================================== ==========
end
end
function permanentserverbuff_remove()
remove_state("1101", "24.5") -- Remove Max HP, MP +50%
end
function temporaryserverbuff_remove()
remove_state("163426", "30") -- Remove Unity of Force +60
end
function hv_pass_remove()
local lv = gv("level")
if lv >= 100 then
remove_state("9004", "1") -- Remove Hidden Village Pass
end
end
function buff_under_20_remove()
local lv = gv("level")
if lv >= 1 and lv <= 20 then
remove_state("163429", "3", "259200000") -- Wind Weapon
remove_state("2506", "2", "259200000") -- Dark Might
remove_state("163404", "2", "259200000") -- Blessing of Vitality
remove_state("163405", "2", "259200000") -- Blessing of Intelligence
remove_state("163406", "2", "259200000") -- Blessing of Wisdom
remove_state("163407", "2", "259200000") -- Blessing of Strength
remove_state("2505", "43", "259200000") -- Shining Weapon
remove_state("163433", "50", "259200000") -- Shining Armor
remove_state("13425", "17", "259200000") -- Force of Sacred Fire
remove_state("13424", "17", "259200000") -- Rock Energy
remove_state("13423", "15", "259200000") -- Speed of the Wind
remove_state("1005", "1", "259200000") -- MP Recovery
remove_state("1006", "1", "259200000") -- MP Regen
end
end
function buff_above_20_remove()
local lv = gv("level")
if lv >= 20 and lv <= 49 then
remove_state("163429", "5", "259200000") -- Wind Weapon
remove_state("2506", "4", "259200000") -- Dark Might
remove_state("163404", "8", "259200000") -- Blessing of Vitality
remove_state("163405", "8", "259200000") -- Blessing of Intelligence
remove_state("163406", "8", "259200000") -- Blessing of Wisdom
remove_state("163407", "8", "259200000") -- Blessing of Strength
remove_state("2505", "50", "259200000") -- Shining Weapon
remove_state("163433", "60", "259200000") -- Shining Armor
remove_state("13425", "25", "259200000") -- Force of Sacred Fire
remove_state("13424", "25", "259200000") -- Rock Energy
remove_state("13423", "20", "259200000") -- Speed of the Wind
remove_state("1005", "2", "259200000") -- MP Recovery
remove_state("1006", "2", "259200000") -- MP Regen
end
end
function buff_above_50_remove()
local lv = gv("level")
if lv >= 50 and lv <= 80 then
remove_state("163429", "7", "259200000") -- Wind Weapon
remove_state("2506", "6", "259200000") -- Dark Might
remove_state("163404", "14", "259200000") -- Blessing of Vitality
remove_state("163405", "14", "259200000") -- Blessing of Intelligence
remove_state("163406", "14", "259200000") -- Blessing of Wisdom
remove_state("163407", "14", "259200000") -- Blessing of Strength
remove_state("2505", "59", "259200000") -- Shining Weapon
remove_state("163433", "70", "259200000") -- Shining Armor
remove_state("13425", "90", "259200000") -- Force of Sacred Fire
remove_state("13424", "90", "259200000") -- Rock Energy
remove_state("13423", "30", "259200000") -- Speed of the Wind
remove_state("1005", "4", "259200000") -- MP Recovery
remove_state("1006", "4", "259200000") -- MP Regen
end
end
function buff_above_80_remove()
local lv = gv("level")
if lv >= 80 and lv <= 100 then
remove_state("163429", "11", "259200000") -- Wind Weapon
remove_state("2506", "8", "259200000") -- Dark Might
remove_state("163404", "23", "259200000") -- Blessing of Vitality
remove_state("163405", "23", "259200000") -- Blessing of Intelligence
remove_state("163406", "23", "259200000") -- Blessing of Wisdom
remove_state("163407", "23", "259200000") -- Blessing of Strength
remove_state("2505", "71", "259200000") -- Shining Weapon
remove_state("163433", "80", "259200000") -- Shining Armor
remove_state("13425", "135", "259200000") -- Force of Sacred Fire
remove_state("13424", "135", "259200000") -- Rock Energy
remove_state("13423", "35", "259200000") -- Speed of the Wind
remove_state("1005", "6", "259200000") -- MP Recovery
remove_state("1006", "6", "259200000") -- MP Regen
end
end
function buff_above_100_remove()
local lv = gv("level")
if lv >= 100 and lv <= 120 then
remove_state("163429", "13", "259200000") -- Wind Weapon
remove_state("2506", "10", "259200000") -- Dark Might
remove_state("163404", "29", "259200000") -- Blessing of Vitality
remove_state("163405", "29", "259200000") -- Blessing of Intelligence
remove_state("163406", "29", "259200000") -- Blessing of Wisdom
remove_state("163407", "29", "259200000") -- Blessing of Strength
remove_state("2505", "79", "259200000") -- Shining Weapon
remove_state("163433", "90", "259200000") -- Shining Armor
remove_state("13425", "170", "259200000") -- Force of Sacred Fire
remove_state("13424", "170", "259200000") -- Rock Energy
remove_state("13423", "40", "259200000") -- Speed of the Wind
remove_state("1005", "8", "259200000") -- MP Recovery
remove_state("1006", "8", "259200000") -- MP Regen
end
end
function buff_above_120_remove()
local lv = gv("level")
if lv >= 120 and lv <= 150 then
remove_state("163429", "14", "259200000") -- Wind Weapon
remove_state("2506", "12", "259200000") -- Dark Might
remove_state("163404", "32", "259200000") -- Blessing of Vitality
remove_state("163405", "32", "259200000") -- Blessing of Intelligence
remove_state("163406", "32", "259200000") -- Blessing of Wisdom
remove_state("163407", "32", "259200000") -- Blessing of Strength
remove_state("2505", "84", "259200000") -- Shining Weapon
remove_state("163433", "100", "259200000") -- Shining Armor
remove_state("13425", "185", "259200000") -- Force of Sacred Fire
remove_state("13424", "185", "259200000") -- Rock Energy
remove_state("13423", "42", "259200000") -- Speed of the Wind
remove_state("1005", "10", "259200000") -- MP Recovery
remove_state("1006", "10", "259200000") -- MP Regen
end
end
function buff_above_150_remove()
local lv = gv("level")
if lv >= 150 and lv <= 160 then
remove_state("163429", "14", "259200000") -- Wind Weapon
remove_state("2506", "14", "259200000") -- Dark Might
remove_state("163404", "34", "259200000") -- Blessing of Vitality
remove_state("163405", "34", "259200000") -- Blessing of Intelligence
remove_state("163406", "34", "259200000") -- Blessing of Wisdom
remove_state("163407", "34", "259200000") -- Blessing of Strength
remove_state("2505", "88", "259200000") -- Shining Weapon
remove_state("163433", "110", "259200000") -- Shining Armor
remove_state("13425", "190", "259200000") -- Force of Sacred Fire
remove_state("13424", "190", "259200000") -- Rock Energy
remove_state("13423", "48", "259200000") -- Speed of the Wind
remove_state("1005", "12", "259200000") -- MP Recovery
remove_state("1006", "12", "259200000") -- MP Regen
end
end
function buff_above_160_remove()
local lv = gv("level")
if lv >= 160 and lv <= 170 then
remove_state("163429", "18", "259200000") -- Wind Weapon
remove_state("2506", "209", "259200000") -- Dark Might
remove_state("163404", "35", "259200000") -- Blessing of Vitality
remove_state("163405", "35", "259200000") -- Blessing of Intelligence
remove_state("163406", "35", "259200000") -- Blessing of Wisdom
remove_state("163407", "35", "259200000") -- Blessing of Strength
remove_state("2505", "92", "259200000") -- Shining Weapon
remove_state("163433", "120", "259200000") -- Shining Armor
remove_state("13425", "195", "259200000") -- Force of Sacred Fire
remove_state("13424", "195", "259200000") -- Rock Energy
remove_state("13423", "50", "259200000") -- Speed of the Wind
remove_state("1005", "13", "259200000") -- MP Recovery
remove_state("1006", "13", "259200000") -- MP Regen
end
end
function buff_at_170_remove()
local lv = gv("level")
if lv >= 169 then
remove_state("163429", "15", "259200000") -- Wind Weapon
remove_state("2506", "20", "259200000") -- Dark Might
remove_state("163404", "38", "259200000") -- Blessing of Vitality
remove_state("163405", "38", "259200000") -- Blessing of Intelligence
remove_state("163406", "38", "259200000") -- Blessing of Wisdom
remove_state("163407", "38", "259200000") -- Blessing of Strength
remove_state("2505", "102", "259200000") -- Shining Weapon
remove_state("163433", "130", "259200000") -- Shining Armor
remove_state("13425", "200", "259200000") -- Force of Sacred Fire
remove_state("13424", "200", "259200000") -- Rock Energy
remove_state("13423", "60", "259200000") -- Speed of the Wind
remove_state("1005", "14", "259200000") -- MP Recovery
remove_state("1006", "14", "259200000") -- MP Regen
end
end
function buff_pet_below_100_remove()
remove_cstate("163429", "8", "259200000") -- Wind Weapon
remove_cstate("2506", "15", "259200000") -- Dark Might
remove_cstate("163404", "25", "259200000") -- Blessing of Vitality
remove_cstate("163405", "25", "259200000") -- Blessing of Intelligence
remove_cstate("163406", "25", "259200000") -- Blessing of Wisdom
remove_cstate("163407", "25", "259200000") -- Blessing of Strength
remove_cstate("2505", "25", "259200000") -- Shining Weapon
remove_cstate("163433", "25", "259200000") -- Shining Armor
remove_cstate("13425", "25", "259200000") -- Force of Sacred Fire
remove_cstate("13424", "25", "259200000") -- Rock Energy
remove_cstate("13423", "15", "259200000") -- Speed of the Wind
remove_cstate("1005", "15", "259200000") -- MP Recovery
remove_cstate("1006", "15", "259200000") -- MP Regen
remove_cstate("163410", "25", "259200000") -- STR Support
remove_cstate("163411", "25", "259200000") -- VIT Support
remove_cstate("163412", "25", "259200000") -- INT Support
remove_cstate("163413", "25", "259200000") -- WIS Support
end
function buff_pet_above_100_remove()
local lv = gv("level")
if lv >= 100 then
remove_cstate("163429", "10", "259200000") -- Wind Weapon
remove_cstate("2506", "25", "259200000") -- Dark Might
remove_cstate("163404", "45", "259200000") -- Blessing of Vitality
remove_cstate("163405", "45", "259200000") -- Blessing of Intelligence
remove_cstate("163406", "45", "259200000") -- Blessing of Wisdom
remove_cstate("163407", "45", "259200000") -- Blessing of Strength
remove_cstate("2505", "40", "259200000") -- Shining Weapon
remove_cstate("163433", "40", "259200000") -- Shining Armor
remove_cstate("13425", "40", "259200000") -- Force of Sacred Fire
remove_cstate("13424", "40", "259200000") -- Rock Energy
remove_cstate("13423", "35", "259200000") -- Speed of the Wind
remove_cstate("1005", "30", "259200000") -- MP Recovery
remove_cstate("1006", "30", "259200000") -- MP Regen
remove_cstate("163410", "40", "259200000") -- STR Support
remove_cstate("163411", "40", "259200000") -- VIT Support
remove_cstate("163412", "40", "259200000") -- INT Support
remove_cstate("163413", "40", "259200000") -- WIS Support
end
end
--================================================== ==========
-- <<<<<< [ABGR]Auto Buff Give Rule >>>>>>
--================================================== ==========
function permanentserverbuff_give()
add_state("1101", "24.5", "60480000") -- Max HP, MP +50%
add_cstate("1101", "24.5", "60480000") -- Max HP, MP +50%
end
function temporaryserverbuff_give()
add_state("163444", "10", "60480000") -- Strength of Darkness +190 P.Atk/+190 M.Atk
add_cstate("163444", "10", "60480000") -- Strength of Darkness +190 P.Atk/+190 M.Atk
end
function hv_pass_give()
local lv = gv("level")
if lv >= 100 then
add_state("9004", "1", "259200000") -- Hidden Village Pass
end
end
function hv_ticket_give()
local lv = gv("level")
local has_hv_item = find_item(910023)
if lv > 99 and has_hv_item == 0 then
insert_item(910023, 1)
cprint("Your HV Ticket has been renewed, enjoy.")
elseif lv > 99 and has_hv_item == 1 then
end
end
function buff_under_20_give()
local lv = gv("level")
if lv >= 1 and lv <= 20 then
add_state("163429", "3", "259200000") -- Wind Weapon
add_state("2506", "2", "259200000") -- Dark Might
add_state("163404", "2", "259200000") -- Blessing of Vitality
add_state("163405", "2", "259200000") -- Blessing of Intelligence
add_state("163406", "2", "259200000") -- Blessing of Wisdom
add_state("163407", "2", "259200000") -- Blessing of Strength
add_state("2505", "43", "259200000") -- Shining Weapon
add_state("163433", "50", "259200000") -- Shining Armor
add_state("13425", "17", "259200000") -- Force of Sacred Fire
add_state("13424", "17", "259200000") -- Rock Energy
add_state("13423", "15", "259200000") -- Speed of the Wind
add_state("1005", "1", "259200000") -- MP Recovery
add_state("1006", "1", "259200000") -- MP Regen
end
end
function buff_above_20_give()
local lv = gv("level")
if lv >= 20 and lv <= 49 then
add_state("163429", "5", "259200000") -- Wind Weapon
add_state("2506", "4", "259200000") -- Dark Might
add_state("163404", "8", "259200000") -- Blessing of Vitality
add_state("163405", "8", "259200000") -- Blessing of Intelligence
add_state("163406", "8", "259200000") -- Blessing of Wisdom
add_state("163407", "8", "259200000") -- Blessing of Strength
add_state("2505", "50", "259200000") -- Shining Weapon
add_state("163433", "60", "259200000") -- Shining Armor
add_state("13425", "25", "259200000") -- Force of Sacred Fire
add_state("13424", "25", "259200000") -- Rock Energy
add_state("13423", "20", "259200000") -- Speed of the Wind
add_state("1005", "2", "259200000") -- MP Recovery
add_state("1006", "2", "259200000") -- MP Regen
end
end
function buff_above_50_give()
local lv = gv("level")
if lv >= 50 and lv <= 80 then
add_state("163429", "7", "259200000") -- Wind Weapon
add_state("2506", "6", "259200000") -- Dark Might
add_state("163404", "14", "259200000") -- Blessing of Vitality
add_state("163405", "14", "259200000") -- Blessing of Intelligence
add_state("163406", "14", "259200000") -- Blessing of Wisdom
add_state("163407", "14", "259200000") -- Blessing of Strength
add_state("2505", "59", "259200000") -- Shining Weapon
add_state("163433", "70", "259200000") -- Shining Armor
add_state("13425", "90", "259200000") -- Force of Sacred Fire
add_state("13424", "90", "259200000") -- Rock Energy
add_state("13423", "30", "259200000") -- Speed of the Wind
add_state("1005", "4", "259200000") -- MP Recovery
add_state("1006", "4", "259200000") -- MP Regen
end
end
function buff_above_80_give()
local lv = gv("level")
if lv >= 80 and lv <= 100 then
add_state("163429", "11", "259200000") -- Wind Weapon
add_state("2506", "8", "259200000") -- Dark Might
add_state("163404", "23", "259200000") -- Blessing of Vitality
add_state("163405", "23", "259200000") -- Blessing of Intelligence
add_state("163406", "23", "259200000") -- Blessing of Wisdom
add_state("163407", "23", "259200000") -- Blessing of Strength
add_state("2505", "71", "259200000") -- Shining Weapon
add_state("163433", "80", "259200000") -- Shining Armor
add_state("13425", "", "259200000") -- Force of Sacred Fire
add_state("13424", "135", "259200000") -- Rock Energy
add_state("13423", "35", "259200000") -- Speed of the Wind
add_state("1005", "6", "259200000") -- MP Recovery
add_state("1006", "6", "259200000") -- MP Regen
end
end
function buff_above_100_give()
local lv = gv("level")
if lv >= 100 and lv <= 120 then
add_state("163429", "13", "259200000") -- Wind Weapon
add_state("2506", "10", "259200000") -- Dark Might
add_state("163404", "29", "259200000") -- Blessing of Vitality
add_state("163405", "29", "259200000") -- Blessing of Intelligence
add_state("163406", "29", "259200000") -- Blessing of Wisdom
add_state("163407", "29", "259200000") -- Blessing of Strength
add_state("2505", "79", "259200000") -- Shining Weapon
add_state("163433", "90", "259200000") -- Shining Armor
add_state("13425", "170", "259200000") -- Force of Sacred Fire
add_state("13424", "170", "259200000") -- Rock Energy
add_state("13423", "40", "259200000") -- Speed of the Wind
add_state("1005", "8", "259200000") -- MP Recovery
add_state("1006", "8", "259200000") -- MP Regen
end
end
function buff_above_120_give()
local lv = gv("level")
if lv >= 120 and lv <= 150 then
add_state("163429", "14", "259200000") -- Wind Weapon
add_state("2506", "12", "259200000") -- Dark Might
add_state("163404", "32", "259200000") -- Blessing of Vitality
add_state("163405", "32", "259200000") -- Blessing of Intelligence
add_state("163406", "32", "259200000") -- Blessing of Wisdom
add_state("163407", "32", "259200000") -- Blessing of Strength
add_state("2505", "84", "259200000") -- Shining Weapon
add_state("163433", "100", "259200000") -- Shining Armor
add_state("13425", "185", "259200000") -- Force of Sacred Fire
add_state("13424", "185", "259200000") -- Rock Energy
add_state("13423", "42", "259200000") -- Speed of the Wind
add_state("1005", "10", "259200000") -- MP Recovery
add_state("1006", "10", "259200000") -- MP Regen
end
end
function buff_above_150_give()
local lv = gv("level")
if lv >= 150 and lv <= 160 then
add_state("163429", "14", "259200000") -- Wind Weapon
add_state("2506", "14", "259200000") -- Dark Might
add_state("163404", "34", "259200000") -- Blessing of Vitality
add_state("163405", "34", "259200000") -- Blessing of Intelligence
add_state("163406", "34", "259200000") -- Blessing of Wisdom
add_state("163407", "34", "259200000") -- Blessing of Strength
add_state("2505", "88", "259200000") -- Shining Weapon
add_state("163433", "110", "259200000") -- Shining Armor
add_state("13425", "190", "259200000") -- Force of Sacred Fire
add_state("13424", "190", "259200000") -- Rock Energy
add_state("13423", "48", "259200000") -- Speed of the Wind
add_state("1005", "12", "259200000") -- MP Recovery
add_state("1006", "12", "259200000") -- MP Regen
end
end
function buff_above_160_give()
local lv = gv("level")
if lv >= 160 and lv <= 170 then
add_state("163429", "15", "259200000") -- Wind Weapon
add_state("2506", "18", "259200000") -- Dark Might
add_state("163404", "35", "259200000") -- Blessing of Vitality
add_state("163405", "35", "259200000") -- Blessing of Intelligence
add_state("163406", "35", "259200000") -- Blessing of Wisdom
add_state("163407", "35", "259200000") -- Blessing of Strength
add_state("2505", "92", "259200000") -- Shining Weapon
add_state("163433", "120", "259200000") -- Shining Armor
add_state("13425", "195", "259200000") -- Force of Sacred Fire
add_state("13424", "195", "259200000") -- Rock Energy
add_state("13423", "50", "259200000") -- Speed of the Wind
add_state("1005", "13", "259200000") -- MP Recovery
add_state("1006", "13", "259200000") -- MP Regen
end
end
function buff_at_170_give()
local lv = gv("level")
if lv >= 169 then
add_state("163429", "15", "259200000") -- Wind Weapon
add_state("2506", "20", "259200000") -- Dark Might
add_state("163404", "38", "259200000") -- Blessing of Vitality
add_state("163405", "38", "259200000") -- Blessing of Intelligence
add_state("163406", "38", "259200000") -- Blessing of Wisdom
add_state("163407", "38", "259200000") -- Blessing of Strength
add_state("2505", "102", "259200000") -- Shining Weapon
add_state("163433", "130", "259200000") -- Shining Armor
add_state("13425", "200", "259200000") -- Force of Sacred Fire
add_state("13424", "200", "259200000") -- Rock Energy
add_state("13423", "60", "259200000") -- Speed of the Wind
add_state("1005", "14", "259200000") -- MP Recovery
add_state("1006", "14", "259200000") -- MP Regen
end
end
function buff_pet_below_100_give()
add_cstate("163429", "8", "259200000") -- Wind Weapon
add_cstate("2506", "15", "259200000") -- Dark Might
add_cstate("163404", "25", "259200000") -- Blessing of Vitality
add_cstate("163405", "25", "259200000") -- Blessing of Intelligence
add_cstate("163406", "25", "259200000") -- Blessing of Wisdom
add_cstate("163407", "25", "259200000") -- Blessing of Strength
add_cstate("2505", "25", "259200000") -- Shining Weapon
add_cstate("163433", "25", "259200000") -- Shining Armor
add_cstate("13425", "25", "259200000") -- Force of Sacred Fire
add_cstate("13424", "25", "259200000") -- Rock Energy
add_cstate("13423", "15", "259200000") -- Speed of the Wind
add_cstate("1005", "15", "259200000") -- MP Recovery
add_cstate("1006", "15", "259200000") -- MP Regen
add_cstate("163410", "25", "259200000") -- STR Support
add_cstate("163411", "25", "259200000") -- VIT Support
add_cstate("163412", "25", "259200000") -- INT Support
add_cstate("163413", "25", "259200000") -- WIS Support
end
function buff_pet_above_100_give()
local lv = gv("level")
if lv >= 100 then
add_cstate("163429", "10", "259200000") -- Wind Weapon
add_cstate("2506", "25", "259200000") -- Dark Might
add_cstate("163404", "45", "259200000") -- Blessing of Vitality
add_cstate("163405", "45", "259200000") -- Blessing of Intelligence
add_cstate("163406", "45", "259200000") -- Blessing of Wisdom
add_cstate("163407", "45", "259200000") -- Blessing of Strength
add_cstate("2505", "40", "259200000") -- Shining Weapon
add_cstate("163433", "40", "259200000") -- Shining Armor
add_cstate("13425", "40", "259200000") -- Force of Sacred Fire
add_cstate("13424", "40", "259200000") -- Rock Energy
add_cstate("13423", "35", "259200000") -- Speed of the Wind
add_cstate("1005", "30", "259200000") -- MP Recovery
add_cstate("1006", "30", "259200000") -- MP Regen
add_cstate("163410", "40", "259200000") -- STR Support
add_cstate("163411", "40", "259200000") -- VIT Support
add_cstate("163412", "40", "259200000") -- INT Support
add_cstate("163413", "40", "259200000") -- WIS Support
end
end
--------------------SET BUFF 150-----------------------
function trigger_effect_150_1()
local has_magic_item = find_item(302701)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 150 and lvl <= 154 then
add_state(307001,1,8640000)
add_state(307002,1,8640000)
end
end
----------------------------------------------------
function trigger_effect_150_2()
local has_magic_item = find_item(302709)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 150 and lvl <= 154 then
add_state(307001,1,8640000)
add_state(307002,1,8640000)
end
end
----------------------------------------------------
function trigger_effect_150_3()
local has_magic_item = find_item(302713)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 150 and lvl <= 154 then
add_state(307001,1,8640000)
add_state(307002,1,8640000)
end
end
---------------------------------------------
function trigger_effect_150_4()
local has_magic_item = find_item(302705)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 150 and lvl <= 154 then
add_state(307001,1,8640000)
add_state(307002,1,8640000)
end
end
-----------------------SET BUFF 155-------------------------
function trigger_effect_155_1()
local has_magic_item = find_item(302717)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 155 and lvl <= 159 then
add_state(307001,1,8640000)
add_state(307003,1,8640000)
end
end
-------------------------------------------------
function trigger_effect_155_2()
local has_magic_item = find_item(302725)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 155 and lvl <= 159 then
add_state(307001,1,8640000)
add_state(307003,1,8640000)
end
end
-----------------------------------------------------
function trigger_effect_155_3()
local has_magic_item = find_item(302729)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 155 and lvl <= 159 then
add_state(307001,1,8640000)
add_state(307003,1,8640000)
end
end
-----------------------------------------------------
function trigger_effect_155_4()
local has_magic_item = find_item(302721)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 155 and lvl <= 159 then
add_state(307001,1,8640000)
add_state(307003,1,8640000)
end
end
--------------------------SET BUFF 160-----------------------------
function trigger_effect_160_1()
local has_magic_item = find_item(302733)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 160 and lvl <= 300 then
remove_state(307001)
remove_state(307002)
add_state(307004,1,8640000)
remove_state(307001)
remove_state(307003)
add_state(307003,1,8640000)
end
end
-------------------------------------------------------
function trigger_effect_160_2()
local has_magic_item = find_item(302741)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 160 and lvl <= 300 then
remove_state(307001)
remove_state(307002)
add_state(307004,1,8640000)
remove_state(307001)
remove_state(307003)
add_state(307003,1,8640000)
end
end
------------------------------------------------------------------
function trigger_effect_160_3()
local has_magic_item = find_item(302745)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 160 and lvl <= 300 then
remove_state(307001)
remove_state(307002)
add_state(307004,1,8640000)
remove_state(307001)
remove_state(307003)
add_state(307003,1,8640000)
end
end
--------------------------------------------------------------------
function trigger_effect_160_4()
local has_magic_item = find_item(302737)
local lvl = get_value( "lv" )
if has_magic_item >= 1 and lvl >= 160 and lvl <= 300 then
remove_state(307001)
remove_state(307002)
add_state(307004,1,8640000)
remove_state(307001)
remove_state(307003)
add_state(307003,1,8640000)
end
end
-------------------------------END BUFFS-------------------------------
function xp_to_gp()
local mxlv = gv( "max_reached_level" )
if mxlv == 4 then
set_huntaholic_point("100")
cprint("<#FF0080><b>|======|You have gained 100 Gen Points|=======|</b>")
elseif mxlv == 9 then
set_huntaholic_point("250")
cprint("<#FF0080><b>|======|You have gained 150 Gen Points|=======|</b>")
elseif mxlv == 14 then
set_huntaholic_point("450")
cprint("<#FF0080><b>|======|You have gained 200 Gen Points|=======|</b>")
elseif mxlv == 19 then
set_huntaholic_point("850")
cprint("<#FF0080><b>|======|You have gained 400 Gen Points|=======|</b>")
elseif mxlv == 24 then
set_huntaholic_point("1450")
cprint("<#FF0080><b>|======|You have gained 600 Gen Points|=======|</b>")
elseif mxlv == 29 then
set_huntaholic_point("2300")
cprint("<#FF0080><b>|======|You have gained 850 Gen Points|=======|</b>")
elseif mxlv == 39 then
set_huntaholic_point("3000")
cprint("<#FF0080><b>|======|You have gained 1,700 Gen Points|=======|</b>")
elseif mxlv == 59 then
set_huntaholic_point("9000")
cprint("<#FF0080><b>|======|You have gained 6,000 Gen Points|=======|</b>")
elseif mxlv == 79 then
set_huntaholic_point("27000")
cprint("<#FF0080><b>|======|You have gained 18,000 Gen Points|=======|</b>")
elseif mxlv == 99 then
set_huntaholic_point("81000")
cprint("<#FF0080><b>|======|You have gained 54,000 Gen Points|=======|</b>")
elseif mxlv == 119 then
set_huntaholic_point("240000")
cprint("<#FF0080><b>|======|You have gained 162,000 Gen Points|=======|</b>")
elseif mxlv == 139 then
set_huntaholic_point("720000")
cprint("<#FF0080><b>|======|You have gained 558,000 Gen Points|=======|</b>")
elseif mxlv == 149 then
set_huntaholic_point("2880000")
cprint("<#FF0080><b>|======|You have gained 2,160,000 Gen Points|=======|</b>")
elseif mxlv == 154 then
set_huntaholic_point("5760000")
cprint("<#FF0080><b>|======|You have gained 2,880,000 Gen Points|=======|</b>")
elseif mxlv == 159 then
set_huntaholic_point("11520000")
cprint("<#FF0080><b>|======|You have gained 8,640,000 Gen Points|=======|</b>")
end
end
IF YOU LIKED AND OR USED THIS RELEASE PLEASE PRESS THE "THANKS BUTTON"
|