Advertisement
Guest User

Orbs By Momo

a guest
Dec 12th, 2016
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 15.54 KB | None | 0 0
  1. --[[
  2. * ITEMINFO:
  3.  
  4. 7148    Leeching Orb    o0004   greenstone01    0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Leeching Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: Take away the target's HP and transfers it to you.  
  5. 7149    Static Orb  o0003   yellowstone01   0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Static Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: Decreases the Movement Speed of the target in 5 sec.  
  6. 7150    Burning Orb o0002   redstone01  0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Burning Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: Adds burning effect to the target, taking away 100 in 100 in 10 sec.     
  7. 7151    Pushing Orb o0003   bluestone01 0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Pushing Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: Pushes the target in a certain distance, ranging the movement speed of the target.   
  8. 7152    Focusing Orb    o0001   bluestone01 0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Focusing Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: Take away the target's SP and transfers it to you.  
  9. 7153    Poisonous Orb   o0003   greenstone01    0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Poisonous Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: Adds poison to the target, taking away 100 in 100 in 10 sec.   
  10. 7154    Paralyzing Orb  o0004   yellowstone01   0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Paralyzing Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: Stun the target in 1 sec. 
  11. 7155    Icing Orb   o0003   yellowstone01   0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Icing Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: freezes the target in 3 sec.   
  12. 7156    Breaking Orb    o0002   yellowstone01   0   0   0   0   0   00  99  0   0   0   0   0   1   1   1   1   99  0   0   -1  0   -1  0   0   -1  -1  0   0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0   0,0 0,0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   Breaking Orb. An Orb created of many powerful mixtures to enchant your weapon. Effect: Decrease defence of target in 10 sec.   
  13.  
  14. * ITEMPRE:
  15.  
  16. 21  Poisonous
  17. 22  Paralyzing
  18. 23  Leeching
  19. 24  Burning
  20. 25  Static
  21. 26  Pushing
  22. 27  Focusing
  23. 28  Icing
  24. 29  Breaking
  25. --]]
  26.  
  27. -- Credits: Momo
  28.  
  29. function is_Weapon(item)
  30.     local Item_type = GetItemType(item)
  31.     if Item_type ~= 0 then
  32.         if Item_type == 1 or Item_type == 2 or Item_type == 3 or Item_type == 4 or Item_type == 7 or Item_type == 11 or Item_type == 9 then
  33.             return 1
  34.         end
  35.     end
  36.     return 0
  37. end
  38.  
  39. function add_prefix(item,pre)
  40.     local old = GetItemAttr(item, 53)
  41.     SetItemAttr(item, 53, math.mod(old, 1000) * 1000 + pre * 10 + math.floor(old / 1000))
  42. end
  43.  
  44. function get_prefix(item)
  45.     local prefix = math.floor(math.mod(GetItemAttr(item, 53), 1000) / 10)
  46.     return prefix
  47. end
  48.  
  49. function prefix_bonus( ATKER , DEFER )
  50.     local prefix_l = 0
  51.     local prefix_r = 0
  52.  
  53.     local wepl = GetEquipItemP(ATKER,6)
  54.     local wepr = GetEquipItemP(ATKER,9)
  55.     local wepl_ID = GetItemID(wepl)
  56.     local wepr_ID = GetItemID(wepr)
  57.     if wepl_ID ~= 0 then
  58.     prefix_l = get_prefix(wepl)
  59.  
  60. end
  61.     if wepr_ID ~= 0 then
  62.     prefix_r = get_prefix(wepr)
  63.  
  64. end
  65.     if prefix_l == 24 or prefix_r == 24 then            --- BURNING (dmg every second)
  66.         local status = STATE_RS            
  67.         local Percentage = Percentage_Random ( 0.1 )
  68.         if Percentage == 1 then
  69.         AddState ( ATKER , DEFER , status , 1 , 10 )
  70.         end
  71.  
  72.     elseif prefix_l == 21 or prefix_r == 21 then            --- POISONING (dmg every second)
  73.         local status = STATE_JSDD      
  74.         local Percentage = Percentage_Random ( 0.1 )
  75.         if Percentage == 1 then
  76.         AddState ( ATKER , DEFER , status , 1 , 10 )
  77.         end
  78.  
  79.     elseif prefix_l == 25 or prefix_r == 25 then            --- ELECTRYFING (Slow)
  80.         local status = STATE_MB            
  81.         local Percentage = Percentage_Random ( 0.1 )
  82.         if Percentage == 1 then
  83.         AddState ( ATKER , DEFER , status , 10 , 5 )
  84.         end
  85.  
  86.     elseif prefix_l == 22 or prefix_r == 22 then            --- PARALYZING (Short Stun)
  87.         local status = STATE_XY            
  88.         local Percentage = Percentage_Random ( 0.04 )
  89.         if Percentage == 1 then
  90.         AddState ( ATKER , DEFER , status , 1 , 1 )
  91.         end
  92.  
  93.     elseif prefix_l == 27 or prefix_r == 27 then            --- FOCUSING (takes target sp and recovers yours
  94.         local t_lv = GetChaAttr ( DEFER , ATTR_LV )
  95.         sp_resume = -100 * t_lv / math.random (10,20)
  96.         sp_reduce = 100 * t_lv / math.random (10,20)
  97.         local Percentage = Percentage_Random ( 0.06 )
  98.         if Percentage == 1 then
  99.         Sp_Red (DEFER , sp_reduce )
  100.         Sp_Red ( ATKER , sp_resume )
  101.         end
  102.  
  103.     elseif prefix_l == 23 or prefix_r == 23 then            --- Leeching( takes target some hp and heals you)
  104.         local t_lv = GetChaAttr ( DEFER , ATTR_LV )
  105.         hp_resume = -100 * t_lv / math.random (10,20)
  106.         local Percentage = Percentage_Random ( 0.04 )
  107.         if Percentage == 1 then
  108.         Hp_Endure_Dmg ( ATKER , hp_resume )
  109.         end
  110.  
  111.     elseif prefix_l == 26 or prefix_r == 26 then            --- PUSHING (Pushs the target away)
  112.         local Percentage = Percentage_Random ( 0.1 )
  113.         if Percentage == 1 then
  114.         local t_lv = GetChaAttr ( DEFER , ATTR_LV )
  115.         local distance = 100 * t_lv / math.random (15,30)
  116.         BeatBack ( ATKER , DEFER , distance )
  117.         end
  118.     elseif prefix_l == 28 or prefix_r == 28 then            --- Icing
  119.         local status = STATE_BIW               
  120.         local Percentage = Percentage_Random ( 0.1 )
  121.         if Percentage == 1 then
  122.         AddState ( ATKER , DEFER , status , 1 , 3 )
  123.         end
  124.     elseif prefix_l == 29 or prefix_r == 29 then            --- Breaking
  125.         local status = STATE_PJ            
  126.         local Percentage = Percentage_Random ( 0.1 )
  127.         if Percentage == 1 then
  128.         AddState ( ATKER , DEFER , status , 5 , 10 )
  129.         end
  130.     end
  131.  
  132. prefix_l = 0
  133. prefix_r = 0
  134.  
  135. end
  136.  
  137. -- NPC Functions
  138. function orb_enchant()
  139.  
  140.     Talk( 1, "Lizzy: Young man, I can enchant your equipment aslong you bring me one Orb." )
  141.    
  142.     for i = 1,4 do
  143.             if ORBS[i].Opened ~= 0 then
  144.                 failurePage = ORBS_COUNT + i
  145.                 langPage = ORBS_COUNT + i + 1
  146.                 orbid = ORBS[i].ItemID
  147.  
  148.                 InitTrigger()
  149.                 TriggerCondition( i, HasItem, orbid ,1 )
  150.                 TriggerCondition( i, EnchantCheck )
  151.                 TriggerAction( i, Enchant, orbid )
  152.                 TriggerFailure( i, JumpPage, failurePage )
  153.                
  154.                 orbName = ORBS[i].Name
  155.                 failureText = "You do not have "..ORBS[i].Name.." . Come again when you have it. "
  156.            
  157.             if (ORBS[i].Cost > 0) then
  158.                 orbName = orbName.." cost "..ORBS[i].Cost.." gold "
  159.                 failureText = failureText.." It costs "..ORBS[i].Cost.." to enchant your weapon..."
  160.                 TriggerCondition( i, HasMoney, ORBS[i].Cost )
  161.                 TriggerAction( i, TakeMoney, ORBS[i].Cost )
  162.                 end
  163.             Text( 1, orbName,MultiTrigger, GetMultiTrigger(), i )
  164.             Talk( failurePage, failureText)
  165.             end
  166.        
  167.     end
  168.  
  169.     InitTrigger()
  170.     TriggerCondition( 6, ExtractCheck )
  171.     TriggerAction( 6, ExtractOrb, 1 )
  172.     Text( 1, "Remove/Erease Orb",MultiTrigger, GetMultiTrigger(), 6 )
  173.     Text( 1, "Next Page",JumpPage, 2 )
  174.  
  175.     Talk( 2, "Lizzy: Young man, I can enchant your equipment aslong you bring me one Orb." )
  176.    
  177.     for i = 5,9 do
  178.             if ORBS[i].Opened ~= 0 then
  179.                 failurePage = ORBS_COUNT + i
  180.                 langPage = ORBS_COUNT + i + 1
  181.                 orbid = ORBS[i].ItemID
  182.  
  183.                 InitTrigger()
  184.                 TriggerCondition( i, HasItem, orbid ,1 )
  185.                 TriggerCondition( i, EnchantCheck )
  186.                 TriggerAction( i, Enchant, orbid )
  187.                 TriggerFailure( i, JumpPage, failurePage )
  188.                
  189.                 orbName = ORBS[i].Name
  190.                 failureText = "You do not have "..ORBS[i].Name.." . Come again when you have it. "
  191.            
  192.             if (ORBS[i].Cost > 0) then
  193.                 orbName = orbName.." cost "..ORBS[i].Cost.." gold "
  194.                 failureText = failureText.." It costs "..ORBS[i].Cost.." to enchant your weapon..."
  195.                 TriggerCondition( i, HasMoney, ORBS[i].Cost )
  196.                 TriggerAction( i, TakeMoney, ORBS[i].Cost )
  197.                 end
  198.             Text( 2, orbName,MultiTrigger, GetMultiTrigger(), i )
  199.             Talk( failurePage, failureText)
  200.             end
  201.         end
  202.     end
  203.  
  204. function EnchantCheck(role)
  205.  
  206.     local NocLock = KitbagLock( role, 0 )
  207.     if NocLock == LUA_FALSE then
  208.         HelpInfo( role ,0,"Your inventory is locked.")
  209.         return LUA_FALSE
  210.     end
  211.  
  212.     local Item_bg = GetChaItem ( role , 2 , 3  )
  213.     local Item_Type = GetItemType ( Item_bg )
  214.     local ItemID = GetItemID ( Item_bg )
  215.  
  216.     if Item_Type == 1 or Item_Type == 2 or Item_Type == 3 or Item_Type == 4 or Item_Type == 7 or Item_Type == 9 then
  217.         local prefix = math.floor(math.mod(GetItemAttr(Item_bg, 53), 1000) / 10)
  218.         if GetItemAttr(Item_bg, 53) < 9001 and GetItemAttr(Item_bg, 53) ~= 9300 then
  219.             return LUA_TRUE
  220.         else
  221.             return LUA_TRUE
  222.         end
  223.     else
  224.         HelpInfo( role ,0, "You must put a Weapon on your 4th Inventory Slot." )
  225.         return LUA_FALSE
  226.     end
  227.  
  228. end
  229.  
  230. function Enchant(role, value)
  231.     local NocLock = KitbagLock( role, 0 )
  232.     if NocLock == LUA_FALSE then
  233.         HelpInfo( role ,0, "Your inventory is locked.")
  234.         return LUA_FALSE
  235.     end
  236.     local prefix = 0
  237.     local Item_bg = GetChaItem ( role , 2 , 3  )
  238.     local Item_Type = GetItemType ( Item_bg )
  239.     local ItemID = GetItemID ( Item_bg )
  240.     local orb_id = value
  241.     local Orb_Num = CheckBagItem(  role , orb_id )
  242.  
  243.     if Orb_Num >= 0 and Item_Type == 1 or Item_Type == 2 or Item_Type == 3 or Item_Type == 4 or Item_Type == 7 or Item_Type == 9 then
  244.  
  245.     for i = 1,ORBS_COUNT do
  246.         if orb_id == ORBS[i].ItemID then
  247.             prefix = ORBS[i].Pre
  248.         end
  249.     end
  250.  
  251.         local now_prefix = math.floor(math.mod(GetItemAttr(Item_bg, 53), 1000) / 10)
  252.         local old = GetItemAttr(Item_bg, 53)
  253.        
  254.         if Item_Type == 1 or Item_Type == 2 or Item_Type == 3 or Item_Type == 4 or Item_Type == 7 or Item_Type == 9 then
  255.             if GetItemAttr(Item_bg, 53) < 9001 then
  256.                 local rad = math.random ( 1, 100 )
  257.                 if rad<=70 then
  258.                     TakeItem( role, 0,orb_id, 1 )
  259.                     SetItemAttr(Item_bg, 53, 9000 + prefix * 10)
  260.                     HelpInfo( role ,0,"Successful enchanted your Weapon.")
  261.                     return LUA_TRUE
  262.                 elseif rad <= 30 then
  263.                     TakeItem( role, 0,orb_id, 1 )
  264.                     SetItemAttr(Item_bg, 53, 9300)
  265.                     HelpInfo( role ,0,"You failed enchanting the weapon! This Weapon can not be enchanted anymore!")
  266.                     return LUA_TRUE
  267.                 else
  268.                     TakeItem( role, 0,orb_id, 1 )
  269.                     HelpInfo( role ,0,"You failed enchanting the Weapon!")
  270.                     return LUA_FALSE
  271.                 end
  272.             else
  273.                
  274.                 local rad = math.random ( 1, 100 )
  275.                 if rad<=60 then
  276.                     TakeItem( role, 0,orb_id, 1 )
  277.                     SetItemAttr(Item_bg, 53, 9000 + prefix * 10)
  278.                     HelpInfo( role ,0,"Successful enchanted your Weapon.")
  279.                     return LUA_TRUE
  280.                 elseif rad <= 10 then
  281.                     TakeItem( role, 0,orb_id, 1 )
  282.                     SetItemAttr(Item_bg, 53, 9300)
  283.                     HelpInfo( role ,0,"You failed enchanting the equipment! This Equipment can not be enchanted anymore!")
  284.                     return LUA_TRUE
  285.                 else
  286.                     TakeItem( role, 0,orb_id, 1 )
  287.                     HelpInfo( role ,0,"You failed enchanting the equipment!")
  288.                     return LUA_FALSE
  289.                 end
  290.                
  291.             end
  292.        
  293.         else
  294.             HelpInfo( role ,0,"Weapon and Orb Type do not Match!")
  295.             return LUA_FALSE
  296.         end
  297.        
  298.     else
  299.         HelpInfo( role ,0,"You must put a Weapon on your 4th Inventory Slot." )
  300.         return LUA_FALSE
  301.     end
  302. end
  303.  
  304. function ExtractOrb(role, value)
  305.     local NocLock = KitbagLock( role, 0 )
  306.     if NocLock == LUA_FALSE then
  307.         HelpInfo( role ,0,"Your inventory is locked.")
  308.         return LUA_FALSE
  309.     end
  310.  
  311.     local prefix = 0
  312.  
  313.     local Item_bg = GetChaItem ( role , 2 , 3  )
  314.     local Item_Type = GetItemType ( Item_bg )
  315.     local ItemID = GetItemID ( Item_bg )
  316.    
  317.     if Item_Type == 1 or Item_Type == 2 or Item_Type == 3 or Item_Type == 4 or Item_Type == 7 or Item_Type == 9 then
  318.  
  319.         local now_prefix = math.floor(math.mod(GetItemAttr(Item_bg, 53), 1000) / 10)
  320.         local old = GetItemAttr(Item_bg, 53)
  321.        
  322.         if GetItemAttr(Item_bg, 53) > 9000 then
  323.             local rad = math.random ( 1, 100 )
  324.             if rad <= 70 then
  325.                 SetItemAttr(Item_bg, 53, 9000)
  326.                 HelpInfo( role ,0,"Successful extracted your Orb.")
  327.                
  328.                 local Item_CanGet = GetChaFreeBagGridNum(role)
  329.                
  330.                 for i = 1,ORBS_COUNT do
  331.                 if now_prefix == ORBS[i].Pre then
  332.                     orb_id = ORBS[i].ItemID
  333.                     end
  334.                 end
  335.                
  336.                 if Item_CanGet <= 0 then
  337.                     GiveItemX ( role , 0 , orb_id  , 1 , 4 )
  338.                 else
  339.                     GiveItem ( role , 0 , orb_id  , 1 , 4 )
  340.                 end
  341.                
  342.                 return LUA_TRUE
  343.             else
  344.                 SetItemAttr(Item_bg, 53, 9000)
  345.                 HelpInfo( role ,0,"You failed extracting your Orb!")
  346.                 return LUA_FALSE
  347.             end
  348.         else
  349.             HelpInfo( role ,0,"You have no Orb in the Weapon.")
  350.             return LUA_FALSE
  351.         end
  352.     else
  353.         HelpInfo( role ,0,"You must put a weapon on your 4th Inventory Slot." )
  354.         return LUA_FALSE
  355.     end
  356. end
  357.  
  358. function ExtractCheck(role)
  359.     local NocLock = KitbagLock( role, 0 )
  360.     if NocLock == LUA_FALSE then
  361.         HelpInfo( role ,0,"Your inventory is locked.")
  362.         return LUA_FALSE
  363.     end
  364.  
  365.     local Item_bg = GetChaItem ( role , 2 , 3  )
  366.     local Item_Type = GetItemType ( Item_bg )
  367.     local ItemID = GetItemID ( Item_bg )
  368.  
  369.     if Item_Type == 1 or Item_Type == 2 or Item_Type == 3 or Item_Type == 4 or Item_Type == 7 or Item_Type == 9 then
  370.         local prefix = math.floor(math.mod(GetItemAttr(Item_bg, 53), 1000) / 10)
  371.         if GetItemAttr(Item_bg, 53) > 9000 and GetItemAttr(Item_bg, 53) ~= 9300 then
  372.             return LUA_TRUE
  373.         else
  374.             HelpInfo( role ,0,"This weapon has no Orb!")
  375.  
  376. return LUA_FALSE
  377.         end
  378.     else
  379.         HelpInfo( role ,0,"You must put a weapon on your 4th Inventory Slot." )
  380.         return LUA_FALSE
  381.     end
  382.  
  383. end
  384.  
  385. ORBS_COUNT = 9 -- Number of Total Enchantments
  386.  
  387. ORBS =
  388. {
  389.     { Name="Icing Orb", Opened=1, Cost=500000, Pre=28, ItemID=7155 },
  390.     { Name="Static Orb", Opened=1, Cost=500000, Pre=25, ItemID=7149 },
  391.     { Name="Burning Orb", Opened=1, Cost=500000, Pre=24, ItemID=7150 },
  392.     { Name="Pushing Orb", Opened=1, Cost=500000, Pre=26, ItemID=7151 },
  393.     { Name="Leeching Orb", Opened=1, Cost=500000, Pre=23, ItemID=7148 },
  394.     { Name="Breaking Orb", Opened=1, Cost=500000, Pre=29, ItemID=7156 },
  395.     { Name="Focusing Orb", Opened=1, Cost=500000, Pre=27, ItemID=7152 },
  396.     { Name="Poisonous Orb", Opened=1, Cost=500000, Pre=21, ItemID=7153 },
  397.     { Name="Paralyzing Orb", Opened=1, Cost=500000, Pre=22, ItemID=7154 }
  398. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement