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
  • #305

Closed
Open
Created Feb 04, 2021 by Woodyo_@Woodyo_

-lightlevel{} condition still broken on builds post dev-build 3549

Summary

  • As in title. Post dev-build 3549 where a fix was attempted for the light-level condition, the condition still doesn't work as intended.

Steps to reproduce

  • Download the most recent dev build (3557 at time of writing).

  • Copy the mob and skills in the respective folders.

  • Spawn the mob.

  • Try various ways of introducing light.

  • Mob: https://pastebin.com/cdHwSaHx

  • Skills: https://pastebin.com/G8PCbPW6

Current behavior

  • The mob condition doesn't correctly identify when the mob is in the dark/light.

  • The level argument for the condition straight up doesn't work (E.g. "- lightlevel{l=0} true", "- lightlevel{l=15} false", Etc.)

  • Example 1: https://gyazo.com/6b849ca42989e0bcca771754a258634f

  • Example 2: https://gyazo.com/e71fa44d8509932cdc70dee2013683c6

Intended correct behavior

  • With the files provided above, the mob should message the player saying "LIGHT" when in any level of light, or "DARK" when light is absent.
  • The "l=xx" argument should work.

Server log file

  • https://pastebin.com/xgV0vuDH

Debug log snippet

  • https://pastebin.com/2CsiLH2G

Proposed fixes

  • Not too sure.
Edited Feb 07, 2021 by Woodyo_
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking