Jump to content
  • 0

Steal Soul Script error


bluebear

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  04/09/20
  • Last Seen:  

Good day! 

Im trying to implement steelsoul on my server however these bonus effects doesnt work when reached certain level on my weapon, and i do not know where to look for the custom weapons provided by the script..
 

OnInit:
    set $steelsoulon, 1;
    set .debug, 1;
    setarray $lvlKillCount[0],1,9,16,25,36,77,112,153,200,253,
    320,385,490,585,700,830,970,1120,1260,
    1420,1620,1860,1990,2140,2304,2550,2826,3034,
    3274,3589,3795,3974,4225,4548,4967,5275,5478,5677,
    5973,6243,6612,6965,7202,7523,7826,8219,8641,8892,
    9173,9468,9654,9992,10184,10428,10784,11100,11498,
    11779,11941,12288,12414,12824,13116,13490,13748,13991,
    14278,14511,14888,15100,15446,15758,16128,16555,16940,
    17313,17662,17917,18378,18660,18924,19272,19524,19780,
    19940,20372,20700,20964,21364,21700,22220,22660,23520;
    set .lvlBonus, 1; //activate or not
    setarray .bonusDesc$[0],"atk bonus","matk bonus","hp bonus","sp bonus","random status bonus","hit rate bonus","flee rate bonus","elemental weapon switch","aspd bonus";
    set .lvlBonusItemRequired, 0;
    setarray .itemBonusId[0], 7812, 7810, 7816, 7817, 7025, 7305, 6087, 6088, 6027;
    set .lvlLanding, 5; //level count to get a bonus, 25 by default, meaning 4 bonus max. Otherwise you'll need to increase MAX_ITEM_RDM_OPT in src
    set .lvlDifferenceKill, 15; //lvl difference max authorized to get a kill count
    set .lvlDifferenceType, 0; //0 none, 1 only higher, 2 higher or lower
    set .defaultSuccessRate, 5;
    setarray .itemListToSmith[0], 615, 10, 987, 1, 969, 5, 2282, 1; //items to have to get a soul smith. Pattern: id, percent
    setarray .itemListIncreaseSuccess[0], 733, 5, 730, 10, 731, 15, 732, 20, 6087, 25, 6088, 25; //items to have to increase success. Pattern: id, percent
    set $maxSteelLvl, 90;
    //Dagger, One-H Sword, Two-H Sword, One-H Spear, Two-H Spear, One-H Axe, Two-H Axe, Mace, Staves, Bow, Knuckle, Instrument, Whip, Book, Katar, Revolver, Rifle, Gatling, Shotgun, Grenade, Huuma
    setarray $relicItemId[0],30385,30386,30387,30388,30389,30390,30391,30392,30393,30394,30395,30396,30397,30398,30398,30399,30400,30401,30402,30403,30404,30405;
    bindatcmd "steelsoul",strnpcinfo(3)+"::OnShowExp";
    set .highestChangeWeapon, 1;
    set .rewardCount, 100;
    set .rewardId, 675;
    end;
}

StealSoul.txt

Edited by Patskie
codebox
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

ill try  what it is ^_^

Edited by chatterboy
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  04/09/20
  • Last Seen:  

Please @chatterboyand get back on me on this thank you so much for your help! ?

bump

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

working fine as of now ill try to reach the max level then ill check if there is error at the end

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