Jump to content
  • 0

how to add cooldown on skill_db.yml


Sergardo

Question


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.02
  • Content Count:  148
  • Reputation:   0
  • Joined:  03/06/15
  • Last Seen:  

every time i put Cooldown :

on skill_db.yml got error 

how to add cooldown on skill_db.yml

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

from doc\skill_db.txt

always check for proper tab or alignment i guess

you can always check for samples at db\pre-re\skill_db.yml or db\re\skill_db.yml

 

Cooldown: Time before the character can use the same skill again in milliseconds.

Can be defined in scalar form or sequence map form:
Scalar Form
  Cooldown: 1000

Sequence Map Form
  Cooldown:
    - Level: 1
      Time: 1000
    - Level: 2
      Time: 2000
    - Level: 3
      Time: 3000
    - Level: 4
      Time: 4000
    - Level: 5
      Time: 5000

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.02
  • Content Count:  148
  • Reputation:   0
  • Joined:  03/06/15
  • Last Seen:  

On 9/9/2022 at 9:30 PM, kalabasa said:

from doc\skill_db.txt

always check for proper tab or alignment i guess

you can always check for samples at db\pre-re\skill_db.yml or db\re\skill_db.yml

 

Cooldown: Time before the character can use the same skill again in milliseconds.

Can be defined in scalar form or sequence map form:
Scalar Form
  Cooldown: 1000

Sequence Map Form
  Cooldown:
    - Level: 1
      Time: 1000
    - Level: 2
      Time: 2000
    - Level: 3
      Time: 3000
    - Level: 4
      Time: 4000
    - Level: 5
      Time: 5000

 

 

- Id: 14
    Name: MG_COLDBOLT
    Description: Cold Bolt
    MaxLevel: 10
    Type: Magic
    TargetType: Attack
    Flags:
      IsAutoShadowSpell: true
    Range: 9
    Hit: Multi_Hit
    HitCount:
      - Level: 1
        Count: 1
      - Level: 2
        Count: 2
      - Level: 3
        Count: 3
      - Level: 4
        Count: 4
      - Level: 5
        Count: 5
      - Level: 6
        Count: 6
      - Level: 7
        Count: 7
      - Level: 8
        Count: 8
      - Level: 9
        Count: 9
      - Level: 10
        Count: 10
    Element: Water
    CopyFlags:
      Skill:
        Plagiarism: true
        Reproduce: true
    CastCancel: true
    CastTime:
      - Level: 1
        Time: 640
      - Level: 2
        Time: 960
      - Level: 3
        Time: 1280
      - Level: 4
        Time: 1600
      - Level: 5
        Time: 1920
      - Level: 6
        Time: 2100
      - Level: 7
        Time: 1560
      - Level: 8
        Time: 2880
      - Level: 9
        Time: 3200
      - Level: 10
        Time: 3200
    AfterCastActDelay: 300
    FixedCastTime:
      - Level: 1
        Time: 160
      - Level: 2
        Time: 240
      - Level: 3
        Time: 320
      - Level: 4
        Time: 400
      - Level: 5
        Time: 480
      - Level: 6
        Time: 700
      - Level: 7
        Time: 640
      - Level: 8
        Time: 720
      - Level: 9
        Time: 800
      - Level: 10
        Time: 1200

Cooldown : 1000
    Requires:
      SpCost:
        - Level: 1
          Amount: 12
        - Level: 2
          Amount: 14
        - Level: 3
          Amount: 16
        - Level: 4
          Amount: 18
        - Level: 5
          Amount: 20
        - Level: 6
          Amount: 22
        - Level: 7
          Amount: 24
        - Level: 8
          Amount: 26
        - Level: 9
          Amount: 28
        - Level: 10
          Amount: 30


when i add cooldown :1000  got map error     and this happen         

errorskilldelay.PNG

Edited by Emistry
codebox
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  92
  • Reputation:   4
  • Joined:  06/21/15
  • Last Seen:  

Are you using TAB? use space instead of TAB

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  10/11/22
  • Last Seen:  

This works for high end spots, but when I'm in Valencia I tend to use random skills and to know wich ones are on cooldown or not is annoying.  router login

picashow
 

Edited by aayushkm52
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.02
  • Content Count:  148
  • Reputation:   0
  • Joined:  03/06/15
  • Last Seen:  

error adding cooldown  on skill 

up still same  how to add cooldown  on skill_db.yml    everytime i add  Cooldown: 100   on firebolt or other bolt  got this error

 

cooldownmeror.PNG

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