Jump to content
  • 0

R>Function script that reads stats and give bonus effect


BabaVoss

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.03
  • Content Count:  79
  • Reputation:   0
  • Joined:  06/17/20
  • Last Seen:  

 hi can i request a function script like this, this script is basically for item script, i want to make agi base, but kiel cooldown instead. this script only works if a player equips an item.

i want it to be like a function, if a player has 100 total agi, he will have 45% reduce acd effect. can someone help me? hehe

if(readparam(bAgi)>=100) { bonus bDelayRate,-45;

Edited by BabaVoss
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   25
  • Joined:  12/24/14
  • Last Seen:  

Spoiler
  - Id: 1201
    AegisName: Knife
    Name: Knife
    Type: Weapon
    SubType: Dagger
    Buy: 50
    Weight: 400
    Attack: 17
    Range: 1
    Slots: 3
    Jobs:
      Alchemist: true
      Archer: true
      Assassin: true
      BardDancer: true
      Blacksmith: true
      Crusader: true
      Hunter: true
      Knight: true
      Mage: true
      Merchant: true
      Ninja: true
      Novice: true
      Rogue: true
      Sage: true
      SoulLinker: true
      SuperNovice: true
      Swordman: true
      Thief: true
      Wizard: true
    Locations:
      Right_Hand: true
    WeaponLevel: 1
    EquipLevelMin: 1
    Refineable: true
    Script: |
      if (readparam(bAgi)>=100) { bonus bDelayRate,-50; }

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.03
  • Content Count:  79
  • Reputation:   0
  • Joined:  06/17/20
  • Last Seen:  

On 8/15/2022 at 10:11 AM, mR L said:
  Hide contents
  - Id: 1201
    AegisName: Knife
    Name: Knife
    Type: Weapon
    SubType: Dagger
    Buy: 50
    Weight: 400
    Attack: 17
    Range: 1
    Slots: 3
    Jobs:
      Alchemist: true
      Archer: true
      Assassin: true
      BardDancer: true
      Blacksmith: true
      Crusader: true
      Hunter: true
      Knight: true
      Mage: true
      Merchant: true
      Ninja: true
      Novice: true
      Rogue: true
      Sage: true
      SoulLinker: true
      SuperNovice: true
      Swordman: true
      Thief: true
      Wizard: true
    Locations:
      Right_Hand: true
    WeaponLevel: 1
    EquipLevelMin: 1
    Refineable: true
    Script: |
      if (readparam(bAgi)>=100) { bonus bDelayRate,-50; }

 

 

hello sir thank you for your help, but i need it to be a function script.

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