Jump to content
  • 0

Runtime error with bAddEffOnSkill


TheKingDino

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.01
  • Content Count:  68
  • Reputation:   7
  • Joined:  02/21/19
  • Last Seen:  

I've noticed this with Krieg and Stem of Neph, these are the most up-to-date equip ymls as well that have this error. Is this a problem with bAddEffOnSkill in general or how it is written in the item database?

https://imgur.com/yJUDxpT

  - Id: 1979
    AegisName: Stem_Of_Nepenthes
    Name: Stem of Nepenthes
    Type: Weapon
    SubType: Whip
    Buy: 20
    Weight: 1000
    Attack: 120
    Range: 2
    Slots: 2
    Jobs:
      BardDancer: true
    Classes:
      All_Upper: true
    Gender: Female
    Locations:
      Right_Hand: true
    WeaponLevel: 4
    EquipLevelMin: 60
    Refineable: true
    Script: |
      bonus bInt,2;
      bonus3 bAddEffOnSkill,"DC_THROWARROW",Eff_Freeze,(getrefine()>=9?2000:1000);

 

Untitled2z.png

Edited by TheKingDino
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   11
  • Joined:  11/17/20
  • Last Seen:  

5 hours ago, TheKingDino said:

I've noticed this with Krieg and Stem of Neph, these are the most up-to-date equip ymls as well that have this error. Is this a problem with bAddEffOnSkill in general or how it is written in the item database?

https://imgur.com/yJUDxpT

  - Id: 1979
    AegisName: Stem_Of_Nepenthes
    Name: Stem of Nepenthes
    Type: Weapon
    SubType: Whip
    Buy: 20
    Weight: 1000
    Attack: 120
    Range: 2
    Slots: 2
    Jobs:
      BardDancer: true
    Classes:
      All_Upper: true
    Gender: Female
    Locations:
      Right_Hand: true
    WeaponLevel: 4
    EquipLevelMin: 60
    Refineable: true
    Script: |
      bonus bInt,2;
      bonus3 bAddEffOnSkill,"DC_THROWARROW",Eff_Freeze,(getrefine()>=9?2000:1000);

 

Untitled2z.png


    Script: |
     .@rate = (getrefine()>=9)?2000:1000;
      bonus bInt,2;
      bonus3 bAddEffOnSkill,"DC_THROWARROW",Eff_Freeze, .@rate ;


Try this once im not sure if it works

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.01
  • Content Count:  68
  • Reputation:   7
  • Joined:  02/21/19
  • Last Seen:  

Same error unfortunately. It's odd because sometimes this effect works, when it's bleed on effect.

For example this one works just fine. I've also tried bonus3 bAddEffOnSkill,"DC_THROWARROW",Eff_Freeze,1000; and the same error occurs.

    AegisName: Spearfish_
    Name: Marlin
    Type: Weapon
    SubType: 2hSpear
    Attack: 220
    Range: 3
    Jobs:
      Crusader: true
      Knight: true
      Swordman: true
    Locations:
      Both_Hand: true
    WeaponLevel: 1
    EquipLevelMin: 50
    Trade:
      NoDrop: false
      NoTrade: false
      NoSell: true
      NoCart: false
      NoStorage: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
    Script: |
      bonus3 bAddEffOnSkill,"KN_PIERCE",Eff_Bleeding,150;
      bonus3 bAddEffOnSkill,"LK_SPIRALPIERCE",Eff_Bleeding,150;
      bonus2 bAddEff2,Eff_Freezing,100;
      bonus2 bSkillAtk,"LK_SPIRALPIERCE",100;
      bonus2 bSkillAtk,"LG_INSPIRATION",50;
      if (BaseLevel>99) {
         bonus bBaseAtk,30;
      }

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

On 8/30/2022 at 11:32 PM, TheKingDino said:

I've noticed this with Krieg and Stem of Neph, these are the most up-to-date equip ymls as well that have this error. Is this a problem with bAddEffOnSkill in general or how it is written in the item database?

https://imgur.com/yJUDxpT

  - Id: 1979
    AegisName: Stem_Of_Nepenthes
    Name: Stem of Nepenthes
    Type: Weapon
    SubType: Whip
    Buy: 20
    Weight: 1000
    Attack: 120
    Range: 2
    Slots: 2
    Jobs:
      BardDancer: true
    Classes:
      All_Upper: true
    Gender: Female
    Locations:
      Right_Hand: true
    WeaponLevel: 4
    EquipLevelMin: 60
    Refineable: true
    Script: |
      bonus bInt,2;
      bonus3 bAddEffOnSkill,"DC_THROWARROW",Eff_Freeze,(getrefine()>=9?2000:1000);

 

Untitled2z.png

I think its much better to post this on github.

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