Jump to content
  • 0

Items with long script


Saisho

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

Anybody can tell me what is the limit for a item script and if theres a way to increase it?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

There's no limit as far as I know.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

weird i was testing some scripts and i aways get weird results basically in weapons.

 

like the examples i made during a talk w/

 some random examples 

 

error: cannot use adrenaline rush and aspd drops

 

 
1530,Mjolnir,Mjolnir,4,20,,6000,250,,1,3,0x00000400,7,2,2,4,0,1,1530,{ bonus bUnbreakableWeapon,0; bonus bAtkEle,Ele_Wind; bonus bStr,15; bonus bDex,40; skill "ITM_TOMAHAWK",1; bonus2 bSkillAtk,"NJ_RAIGEKISAI",200; if(readparam(bInt)>=90) { bonus3 bAutoSpellWhenHit,"NJ_RAIGEKISAI",5,200; } if(readparam(bstr)>=90||(getskilllv("WS_MELTDOWN")==0)) { bonus3 bAutoSpell,"NPC_WEAPONBRAKER",1,7; bonus3 bAutoSpell,"NPC_SHIELDBRAKER",1,7; } if(getrefine()>=5) { bonus4 bAutoSpellOnSkill,"ITM_TOMAHAWK","WL_CHAINLIGHTNING",10,1; } if(getrefine()>=7) { bonus bAspdRate,33; } } },{},{}
 

error: aspd drops
 
1413,Gungnir_,Gungnir,4,20,,5000,200,,3,3,0x00000080,7,2,2,4,1,1,1413,{ bonus bStr,20; bonus bHit,20; if(readparam(bint)>=50) skill "TK_SEVENWIND",4; if(getrefine()>=5) { bonus2 bSkillAtk,"KN_BRANDISHSPEAR",20; bonus2 bSkillAtk,"KN_BOWLINGBASH",10; } if(getrefine()>=7) { bonus bPerfectHitRate,25; } },{},{}
 

error: aspd drop to 0
 
1746,elven_bow,Elven Bow,4,20,,1500,160,,5,3,0x00080800,7,2,34,4,1,1,1746,{ bonus bDex,10; bonus bLuk,15; if(readparam(bAgi)<=50) { bonus2 bSkillAtk,"HT_CLAYMORETRAP",50; } if(readparam(bInt)>=70) { bonus bCritAtkRate,n; } if(getrefine()>5) { bonus2 bHPRegenRate,50,10000; bonus2 bSPRegenRate,50,10000; } if(getrefine()>=7) { bonus4 bAutoSpell,"RA_FEARBREEZE",3,200,0; } },{},{}
 

error: aspd drop to 0 if equipped in a non trans but raise to 190 if trans
 
18109,thief_crossbow,Thief Crossow,4,56000,,1100,150,,9,2,0x00020000,7,2,34,4,1,1,1745,{ bonus bDex,10; bonus bAgi,5; bonus3 bSPDrainRate,5,5,0; if(readparam(bInt)>=90) { bonus bFlee,30; } if(getskilllv("TF_POISON")==10) { bonus4 bAutoSpell,"AS_SPLASHER",10,100,1; } if(getrefine()>=5) { bonus4 bAutoSpell,"NPC_CRITICALWOUND,Critical",1,50,1; } if(getrefine()>=7) { skill SC_STRIPACCESSARY,1; } },{},{}
 

there may be more errors but i just made them to try to find what im doing wrong o.o

idk if im doing something wrong (probably) or if like he said maybe there is a limit

Edited by Saisho
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

Give me those item together with their item description(effects) I'll fix it for you.

 

You can even try to use this site : https://github.com/conan513/rAthena/blob/master/doc/item_bonus.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

still having problems :<

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...