diff options
-rw-r--r-- | npc/magic/zarkor.txt | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/npc/magic/zarkor.txt b/npc/magic/zarkor.txt index 6c4980c33..c303a0665 100644 --- a/npc/magic/zarkor.txt +++ b/npc/magic/zarkor.txt @@ -24,10 +24,9 @@ OnCall: } // Check cooldown - /* TODO */ - // This will only vanish upon logout =/ - if (@zark_caveat) { - dispbottom l("Skill is in cooldown."); + // This will vanish upon logout =/ + if (@zark_at > gettimetick(2)) { + dispbottom l("Skill is in cooldown for @@.", FuzzyTime(@zark_at)); end; } @@ -47,11 +46,9 @@ OnCall: // Get a single mana experience point (this is NOT used by Mana Stone) GetManaExp(@sk, 1); - /* // set cooldown - @skzarkor_cooldown=gettimetick(2)+20; - */ - @zark_caveat=1; + @zark_at=gettimetick(2); + @zark_at=@parum_at+20; end; OnInit: |