Stun Spell Not working #160


  • New
  • Defect
Open
  • _ForgeUser17651348 created this issue Jan 18, 2016

    What steps will reproduce the problem?
    1.
    Put this in the config
        StunSpellTrait:
          duration: 2
          range: 10
          cost: 20
          cooldown: 5
          disableCooldownNotice: false
    2.
    3.

    What is the expected output? What do you see instead?
    It doesnt stun you (or it does but for a split second) and it says "You have been stunned for 0 seconds" No matter what i type

    What version of RacesAndClasses are you using?
    1.1.7
    What version of Bukkit / what distribution are you using (Craftbukkit, Spigot, Cauldron, ...)?
    Spigot 1.8.8
    Do you have an error log of what happened?
    Nope

    Please provide any additional information below.

  • _ForgeUser17651348 added the tags New Defect Jan 18, 2016
  • Forge_User_39967924 posted a comment Jan 19, 2016

    You are 100% correct. The duration is in Ticks instead of Seconds.
    For shortterm fix, multiply duration * 20.
    It will be shown wrong, but it will work correct.
    Will be fixed in the next release.


To post a comment, please login or register a new account.