Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #216

Closed
Open
Created Dec 11, 2020 by Ns5x@Ns5x

Condition 'worldtime' doesn't work

Summary

The condition worldtime doesn't work at all. It always evaluates as false.

Steps to reproduce

Add the following skill to a mob, and set the time of day between 0-12000 ticks.

Sunburn:
 Conditions:
 - worldtime{t=0to12000} true
 Skills:
   - damagepercent{percent=0.5;ia=true;pk=true} @self
   - effect:particles{particle=flame;amount=120;hS=.4;vS=.6} @self

Current behavior

The condition always returns false and never executes the skill regardless of the time of day.

Intended correct behavior

The condition should return true within the specified range of ticks, in this case 0 to 12000.

Server log file

https://pastebin.com/YpvFyATz

Debug log snippet

https://pastebin.com/VZT0qPzM

Proposed fixes

Don't know, maybe need to specify which world to check the time in?

Edited Dec 11, 2020 by Ns5x
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking