Jump to content
  • 0
Sergardo

how to add cooldown on skill_db.yml

Question

5 answers to this question

Recommended Posts

  • 0

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

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