-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[magian] Add support for day/weather condition to trials
* Add optional parameter to getWeather in CLuaBaseEntity to ignore scholar effects * Remove unnecessary global exceptions in lua CI Add support for multiple elements to support light or darkness trials Add appropriate dayWeather groups and use those to support trial messages Add mobSuperFamily condition Return true if no dayWeather condition is set in a trial Add Trial 82 for example usage of dayWeather and mobSuperFamily condition Fix incorrect change for WS listener Move magianElement to enum to correct load order
- Loading branch information
Showing
7 changed files
with
149 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
xi = xi or {} | ||
|
||
-- NOTE: These values align with the optParam in the event update for a trial, and are the | ||
-- only groupings supported by the message. These enum is to be used in the dayWeather | ||
-- condition for trial data. | ||
xi.magianElement = | ||
{ | ||
FIRE = 0, | ||
ICE = 1, | ||
WIND = 2, | ||
EARTH = 3, | ||
THUNDER = 4, | ||
WATER = 5, | ||
LIGHT = 6, | ||
DARK = 7, | ||
ANY_LIGHT = 8, | ||
ANY_DARK = 9, | ||
ANY = 10, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters