Alex King
c1584da9cc
[Quest API] Default ScaleNPC to always scale. ( #2818 )
...
* [Quest API] Default ScaleNPC to always scale.
# Notes
- ScaleNPC will now always override stats, with the option to override special abilities.
* Update npc_scale_manager.h
2023-02-05 22:52:52 -05:00
Alex King
f410c89815
[Quest API] Add Override Parameters to ScaleNPC() in Perl/Lua. ( #2816 )
...
# Perl
- Add `$npc->ScaleNPC(level, always_scale_stats)`.
- Add `$npc->ScaleNPC(level, always_scale_stats, always_scale_special_abilities)`.
# Lua
- Add `npc:ScaleNPC(level, always_scale_stats)`.
- Add `npc:ScaleNPC(level, always_scale_stats, always_scale_special_abilities)`.
# Notes
- Allows operators to not have to set stats to 0 in order for scaling to kick in when scripting.
- Special ability override is separate in case you don't want to override some inherent special abilities the NPC has from a script or otherwise.
2023-01-31 21:11:05 -05:00
Chris Miles
d3e756287e
[Logging] Remove function prefixes ( #2766 )
2023-01-19 22:24:50 -06:00
Chris Miles
40d1c33351
[Logging] Logging Improvements ( #2755 )
...
* Console logging improvements
* stderr handling
* Add origination information
* Formatting
* Update zoneserver.cpp
* Update eqemu_logsys.cpp
* Remove semicolon from MySQLQuery log output
* Remove IsRfc5424LogCategory
* Remove no longer used functions
* Remove definition BUILD_LOGGING
* Deprecate categories UCSServer & WorldServer
* Deprecate UCS / World Server / Zone Server categories
* Deprecate Status, QSServer, Normal
* Update login_server.cpp
* Deprecate Emergency, Alert, Critical, Notice
* Deprecate Alert
* Fix terminal color resetting
* Deprecate headless client
* Move LogAIModerate to Detail
* Deprecate moderate logging level for detail
* Update logs.cpp
* Logs list simplify
* Update logs.cpp
* Add discord to log command
* Remove unused headers
* Windows fix
* Error in world when zones fail to load
* Show warning color properly
* Keep loginserver thread log from colliding with other logs during startup
* Deprecate Loginserver category
2023-01-17 21:18:40 -06:00
Alex King
31d57342e1
[Quest API] Add Entity Variable Methods to Perl/Lua. ( #2579 )
...
* [Quest API] Add Entity Variable Methods to Perl/Lua.
# Perl
- Add `$mob->GetEntityVariables()`.
- Add `$object->GetEntityVariables()`.
# Lua
- Add `mob:GetEntityVariables()`.
- Add `object:GetEntityVariables()`.
# Notes
- Convert all overloads and methods to use `std::string` for entity variables.
- Allows operators to get a list of a Mob's entity variables.
* Update loottables.cpp
2022-11-26 16:24:01 -05:00
Chris Miles
b79e1947f1
[Doors] Improvements to door manipulation ( #2370 )
2022-08-13 18:16:55 -05:00
Chris Miles
dfd8f84cac
[Strings] Refactor Strings Usage ( #2305 )
...
* Initial commit checkpoint
* More functions converted
* Commify
* More functions
* Fin
* Sort declarations
* Split functions between files
* Bots
* Update strings.h
* Split
* Revert find replaces
* Repository template
* Money
* Misc function
* Update CMakeLists.txt
* Saylink
* Update strings.cpp
* Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database
* API casings
2022-07-14 02:10:52 -05:00
Chris Miles
a8e12c82a7
[Repository Usage] Migrate NPC Scale Manager to use repositories ( #1441 )
2021-07-08 11:44:02 -05:00
Alex
34d5959cae
[Typo] row[27] not row[25]. ( #1432 )
2021-06-19 15:11:18 -04:00
Alex
8f89f38f5c
Add ScaleNPC() to Perl and Lua. ( #1238 )
2021-02-08 23:08:07 -06:00
Akkadius
8effd671c5
Second pass through tables [skip ci]
2020-03-22 03:27:44 -05:00
Akkadius
951a77716c
Migrate NPC spells, emotes, merchantlist [skip ci]
2020-03-12 02:34:02 -05:00
Akkadius
c646942ed1
Make sure we check if the NPC is flagged as auto scaled before applying hp regen scaling instead of assuming from 0 on the stat alone [skip ci]
2019-11-09 16:19:45 -06:00
Akkadius
70ba7c9c85
Logs::NPCScaling to LogNPCScaling
2019-09-02 03:35:19 -05:00
Akkadius
882e3742d9
Make sure AC / Corrup and PhR do not auto scale unles auto scale criteria is met
2019-06-11 15:26:01 -05:00
Akkadius
660416065e
Fix scaling and display for cor / phr
2019-06-11 15:19:27 -05:00
Michael Cook (mackal)
290133803e
Add a hard off for NPC scaling for Merc/Bot
...
They don't need it. We may want to add this to actually be in the DB for
normal NPCs in the future.
2019-06-10 00:36:18 -04:00
Akkadius
6739eea78b
Change NPC scaling classification order check
2019-05-01 15:26:16 -05:00
Akkadius
9c9d46e3ea
Fix NpcScaleManager::ScaleNPC MinDMG overflow issue when NPC's load dynamic min with static maxd
2019-01-06 18:46:14 -06:00
Akkadius
c32b31ffff
Add npc_scale_global_base table and add devtools command and toggling functionality
2018-12-16 03:59:08 -06:00
Akkadius
bc6109ec8f
Some adjustments to scale manager
2018-12-16 02:30:53 -06:00
Akkadius
d215ccfa8c
Few adjustments
2018-11-19 02:40:10 -06:00
Akkadius
1061788610
Even more mob_info work
2018-11-14 02:23:38 -06:00
Akkadius
17ca995aa9
Add single target and zonewide dynamic and static scaling methods / commands
2018-11-07 02:34:55 -06:00
Akkadius
10fd51a1f9
Add spellscale and healscale to scaling data
2018-11-07 00:36:18 -06:00
Akkadius
775b5fcaf1
Mostly done with global base scaling work, dev tooling and various other works
2018-11-04 23:26:34 -06:00