Commit graph

35 commits

Author SHA1 Message Date
Zach Toogood
e1cab1c894 Lua: Migrate to math.randomInt and math.randomFloat 2026-07-05 14:55:22 +01:00
Xaver-DaRed
f3cf563b03 Convert jsa.SKILL to mobSkill.SKILL 2026-03-20 15:21:30 +01:00
sruon
b51a58c147 Migrate addStatusEffect 2026-02-20 18:42:33 -07:00
Xaver-DaRed
ac5b7fc593 Cleanup mobskill enum simulacrum 2026-01-05 16:17:11 +01:00
Xaver-DaRed
fc28b2c681 Create global "Is this entity busy doing something" function 2025-07-22 15:50:08 +02:00
Corey Sotiropoulos
1cb2d545ea
Replace os.time() with GetSystemTime()
Simple find/replace.
This will make sure everything is using the same clock (earth_time::clock).
2025-07-03 23:38:14 -04:00
Frankie-hz
158a0263c3 Stun and Silence sql to lua
Removes sql calls for immunity and adds to lua files
2025-01-12 12:57:15 -05:00
Frankie-hz
5ec588ad6a Gravity and Gravity, Bind Immunity Removal
Removes the singular Gravity immunity and Gravity, Bind combination from immunity sql and moves to lua
2025-01-11 19:35:52 -05:00
claywar
a2906c343e
Fix or disable issues reported from Global additions 2024-08-26 23:05:01 -04:00
claywar
aa87e30e4d
[chore] Replace double-quote strings with single-quotes 2023-08-28 21:02:36 -04:00
claywar
efc74677cc
[chore] Deprecate IDs require in favor of accessing zones table 2023-08-18 10:09:14 -04:00
claywar
e78f81f68c
[chore] Remove unnecessary comments and newlines
Additional newlines removed, fix roe references


Fix multiple newlines
2023-08-07 13:57:37 -04:00
claywar
1468caf24a
[chore] Remove all requires for scripts/globals/zone 2023-08-07 13:57:37 -04:00
claywar
7c23ee5067
[chore] Add missing event Update and Finish parameter for npc 2023-07-23 11:24:51 -04:00
claywar
f6056bcd22
Remove all requires for scripts/globals/keyitems 2023-06-17 08:17:11 -04:00
claywar
7740e63970
[chore] Remove remaining status global requires 2023-06-03 15:49:05 -04:00
TeoTwawki
4a5bddd7b3 Rename the update status.
The update state is primarily *used by* mobs, but is not mob exclusive.

See `CZoneEntities::SpawnNPCs()` for an example of it being used on non-mobs.
2023-04-15 19:26:25 -04:00
Xaver-DaRed
8adb3cdf44 Magian, Treasure and Voidwalker Globals style or cleanup 2022-12-30 19:05:38 +01:00
Xaver-DaRed
f6f17d5482 Replace "table.getn(tableName)" with "#tableName" 2022-12-30 18:42:36 +01:00
claywar
8a0e16ad64
[chore] Add newline after end at same indent level (19)
Fix syntax
2022-11-22 15:55:35 -05:00
claywar
c46b2ccab4
[chore] Use multiple lines for long conditions (2) 2022-11-13 10:54:35 -05:00
claywar
15605fd49c
[chore] Add required padding for operators and comparators 2022-10-23 14:13:26 -04:00
claywar
5d490f3e15
[chore] Update lua scripts for required space after comma if not followed by newline 2022-10-21 15:55:16 -04:00
claywar
4d27b0bb0e
[lua] Change references from noKiller to optParams.noKiller 2022-10-01 07:15:37 -04:00
jmcmorris
4e04607e64 Unify status type between cpp and lua to have MOB rather than UPDATE 2022-09-22 10:14:04 -07:00
Zach Toogood
8bc86d34ac [chore] Clean up some newline issues 2022-07-05 12:40:32 +03:00
Zach Toogood
7419ecee66 [lua] Hook up scripts/globals/settings and xi.settings.main 2022-06-26 21:22:30 +03:00
claywar
5987cb8dcc
[ci cleanup] Local var format for Globals through W 2022-05-29 08:18:22 -04:00
claywar
ee6d35e579
[ci cleanup] Format tables in globals, commands 2022-05-28 14:56:44 -04:00
Zach Toogood
c590086615 [lua] untargetable -> setUntargetable 2022-05-28 14:57:34 +03:00
TeoTwawki
2acf79b4d1 update requires to match new intended location. 2021-08-18 00:01:43 -04:00
claywar
9c4ca8e682
Lua: Update settings references for other globals 2021-07-07 20:54:50 -04:00
claywar
6a4ccc54b6
Luacheck: npc_util, status, and voidwalker globals 2021-06-01 06:48:16 -04:00
wrenffxi
80ae723dc3 rename textID from VOIDWALKER_OPTAIN_KI to VOIDWALKER_OBTAIN_KI 2021-05-11 22:18:02 -04:00
Sylvain Santucci
dc7b813a52 Implement Voidwalker 2021-04-17 18:33:07 -04:00