-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 Loading
Time tracking Loading