Jump to content
  • 0

Item Script + Item Script Combo


naromitsu

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  05/17/18
  • Last Seen:  

Can someone help me with item script? i'm trying to code some items but i don't think they are working... adoramus hits the same with and without the combo

Item ID: 22120 - Judgment Shoes

{.@r = getrefine(); 
 bonus bMdef,15; 
 bonus bMaxHPRate,3; 
 bonus bMaxSPRate,3; 
 bonus bMatkRate,2; 
 bonus2 bMagicAtkEle,Ele_Holy,2; 
 bonus2 bSkillAtk,"AB_JUDEX",30; 
 
 if(.@r >= 7){
  bonus bMaxHPRate,7; 
  bonus bMaxSPRate,7; 
  bonus bMatkRate,3; 
  bonus2 bMagicAtkEle,Ele_Holy,3;
 } 
 if(.@r >=9){
  bonus bMaxHPRate,10; 
  bonus bMaxSPRate,10; 
  bonus bMatkRate,5; 
  bonus2 bMagicAtkEle,Ele_Holy,5;
 }

Item Description + Combo, Its an Item from bRO ( Brazil Ragnarok Online )

Quote

https://pt.ragnaplace.com/bRO/item/22182/Sapatos-da-Penitencia

Translation:

DEFM +15
Max SP/HP +3%
MATK +2%
Judex Damage + 30%
Magic Holy Damage +2%

if the shoes is upgraded +7 or more

Max SP/HP +7%
MATK +3%
Magic Holy Damage +3%

if the shoes is upgraded +9 or more

Max  SP/HP +10%
MATK +5%
Magic Holy Damage +5%

Bonus with Holy Stick:

Each level on Lauda Agnus increases Adoramus damage by 10%
Each level on Lauda Ramus increases Adoramus damage by 10%
Each level on Clearance increases Adoramus damage by 10%
Each level on Oratio Reduces variable cast time on Judex and Adoramus by 5%

if the weapon is upgraded +8 or more

Increases physical and magical damage inflicted on Demon and Undead monsters by 30%.
Increases physical and magical damage inflicted on Shadow and Undead elemental monsters by 30%.

if the weapon is upgraded +12 or more

Increases physical and magical damage inflicted on Demon and Undead monsters by 20%.
Increases physical and magical damage inflicted on Shadow and Undead elemental monsters by 20%.

 

Item Combo:  22120:1631

22120:1631, { 
  .@b1 = getskilllv("AB_LAUDARAMUS"); <- Gets skill Level
  .@b2 = getskilllv("AB_LAUDAAGNUS"); 
  .@b3 = getskilllv("AB_ORATIO");
  .@b4 = getskilllv("AB_CLEARANCE"); 
  
  // Should Increase Adoramus damage Skill Level * 10 = %damage increase on skill
  bonus2 bSkillAtk,"AB_ADORAMUS",.@b1*10; <- Should Increase Adoramus damage based on AB_LAUDARAMUS skill
  bonus2 bSkillAtk,"AB_ADORAMUS",.@b2*10; 
  bonus2 bVariableCastrate,"AB_ADORAMUS",.@b3*-5; 
  bonus2 bVariableCastrate,"AB_JUDEX",.@b3*-5; 
  bonus2 bSkillAtk,"AB_ADORAMUS",.@b4*10; 
  
.@r = getequiprefinerycnt(EQI_HAND_R); 
  if(.@r >= 8) {
   bonus2 bAddRace,RC_Demon,30; 
   bonus2 bAddRace,RC_Undead,30; 
   bonus2 bMagicAddRace,RC_Demon,30; 
   bonus2 bMagicAddRace,RC_Undead,30; 
   bonus2 bAddEle,Ele_Dark,30; 
   bonus2 bAddEle,Ele_Undead,30;
   bonus2 bMagicAddEle,Ele_Dark,30; 
   bonus2 bMagicAddEle,Ele_Undead,30;
  }
  
  if(.@r >= 12) {
   bonus2 bSkillAtk("AB_ADORAMUS"),20;
   bonus2 bAddRace,RC_Demon,20;
   bonus2 bAddRace,RC_Undead,20; 
   bonus2 bMagicAddRace,RC_Demon,20; 
   bonus2 bMagicAddRace,RC_Undead,20; 
   bonus2 bAddEle,Ele_Dark,20; 
   bonus2 bAddEle,Ele_Undead,20; 
   bonus2 bMagicAddEle,Ele_Dark,20; 
   bonus2 bMagicAddEle,Ele_Undead,20;
  }

 

Edited by naromitsu
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  05/17/18
  • Last Seen:  

Problem solved after rewriting my code...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...