MythicMobs issueshttps://git.lumine.io/mythiccraft/MythicMobs/-/issues2021-05-14T21:50:32Zhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/305-lightlevel{} condition still broken on builds post dev-build 35492021-05-14T21:50:32ZWoodyo_-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.**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.https://git.lumine.io/mythiccraft/MythicMobs/-/issues/3Projectiles with bulletType=item don't accept MM items.2023-07-07T01:36:24ZAshenProjectiles with bulletType=item don't accept MM items.Latest dev build (3397) MythicMobs 4.10.0 - 1.16.1.
`bulletType=ITEM;material=IRON_SWORD` functions and throws an iron sword, `bulletType=ITEM;material=BANDIT_DAGGER` throws an error and throws the default `STONE` item.
Item:
BANDIT_DAGGER:
Id: IRON_SWORD
Model: 1
Skill:
- projectile{oH=BanditDaggerThrow_Hit;oT=BanditDaggerThrow_Tick;bulletType=ITEM;material=BANDIT_DAGGER;velocity=15;d=40;i=2}Latest dev build (3397) MythicMobs 4.10.0 - 1.16.1.
`bulletType=ITEM;material=IRON_SWORD` functions and throws an iron sword, `bulletType=ITEM;material=BANDIT_DAGGER` throws an error and throws the default `STONE` item.
Item:
BANDIT_DAGGER:
Id: IRON_SWORD
Model: 1
Skill:
- projectile{oH=BanditDaggerThrow_Hit;oT=BanditDaggerThrow_Tick;bulletType=ITEM;material=BANDIT_DAGGER;velocity=15;d=40;i=2}