Jump to content
  • 0

R>Function script that reads stats and give bonus effect


Question

Posted (edited)

 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

2 answers to this question

Recommended Posts

  • 0
Posted
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; }

 

 

  • 0
Posted
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.

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.

  • Recently Browsing   0 members

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