Jump to content

Recommended Posts

Posted (edited)

Hi!

I have a question about the script behavior of Elemental Sword - http://db.irowiki.org/db/item-info/13414/

when you equip 2 of this sword, the bolts trigger autocast of both weapons launching a big spamming of bolts, wich is pretty laggy for players and i am wondering if on official servers it act like that.

With one sword you get 12 hit bolts of magic damage and with two sword .... 45 hit of bolt

To clarify i hope https://drive.google.com/file/d/1tbsaibJ0nnqW9wU_JbktU29dAAly2SbT/view?usp=sharing
 

Edited by Sting0r
Posted (edited)

Im not fixing anything for you because those swords arent supposed to be a problem, anyone who can actually get into that dungeon the real way must have a pc that can handle the bolts not to mention those are some of the hardest non mvp monsters 

Edited by Naruto
Posted

are you... high ?


it's not about the laggy thing, it's about the fact that it's probably not intended that the sword in left/right hand is trigger by the sword in right/left hand, leading to 2x fire bolt lvl 3, then 4 x thunder then 8 x earth 

  • Upvote 1
Posted
Quote

wich is pretty laggy for players and i am wondering if on official servers it act like that.

just make an item combo when you have a second one equipped or something 

Posted

No.

I am pretty sure that the only way to deal with this, is to improve bAutospellOnSkill, wich should be able to tell if the spell come from a player or another script than his.

I hope a dev take a look at this topic, i am confident that they will love it.

Posted (edited)

The weapons won't work like they're suppose to with autospell instead on autospellonskill. One way could be to only enable autospellonskill with right hand... but a lefty sinx would be sad

Spoiler

if(getequipid(EQI_HAND_R) == 13414){bonus4 bAutoSpellOnSkill,"MG_COLDBOLT","MG_FIREBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_FIREBOLT","MG_LIGHTNINGBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_LIGHTNINGBOLT","WZ_EARTHSPIKE",3,1000;}

 

Edited by Sting0r
Posted (edited)

i saw the commit earlier but i didn't thought it would fix it, i'll try that


edit: i just tested and as i suspected, It doesn't fix it, still 45 hits instead of 12 hits
you should try it youself

(it's 999 int magic damages)

elemental_lolz.png

Edited by Sting0r
Posted

you can just add script on your item.

item_db.txt

13414,Elemental_Sword,Elemental Sword,5,20,,1200,105:95,,1,3,0x000654E2,18,2,2,3,70,1,2,{ if(isequippedcnt(13414)==1){ bonus bStr,2; bonus bInt,4; bonus bDex,1; bonus2 bAddEle,Ele_Neutral,10; bonus3 bAutoSpell,"MG_COLDBOLT",3,50; bonus4 bAutoSpellOnSkill,"MG_COLDBOLT","MG_FIREBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_FIREBOLT","MG_LIGHTNINGBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_LIGHTNINGBOLT","WZ_EARTHSPIKE",3,1000;} },{},{}

item_comb_db.txt

13414:13414,{ bonus bStr,2; bonus bInt,4; bonus bDex,1; bonus2 bAddEle,Ele_Neutral,10; bonus3 bAutoSpell,"MG_COLDBOLT",3,50; bonus4 bAutoSpellOnSkill,"MG_COLDBOLT","MG_FIREBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_FIREBOLT","MG_LIGHTNINGBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_LIGHTNINGBOLT","WZ_EARTHSPIKE",3,1000;}

Up Vote and Answer if it helps. ?

  • Upvote 1
  • Love 1
Posted (edited)

That's a nice workaround, that does it. Hopefully it's the only one item in this case x) !

thx a lot (hope it get real fix someday, keep up the good work!)

Edited by Sting0r
  • 1 year later...
Posted
On 7/10/2019 at 10:17 AM, Sting0r said:

That's a nice workaround, that does it. Hopefully it's the only one item in this case x) !

thx a lot (hope it get real fix someday, keep up the good work!)

Did you find any solution?

Join the conversation

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

Guest
Reply to this topic...

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

  • Recently Browsing   0 members

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