Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Good morning

[DiscordArchive] Good morning

[DiscordArchive] Good morning

rektbyfaith
Administrator
0
08-13-2023, 06:24 PM
#1
Archived author: Racknar0 • Posted: 2023-08-13T18:24:20.282000+00:00
Original source

Good morning
One question, how can I change the loot rate settings using LUA

As well as the damage of for example the Elites inside the dungeons to make independent damage changes from LUA?
rektbyfaith
08-13-2023, 06:24 PM #1

Archived author: Racknar0 • Posted: 2023-08-13T18:24:20.282000+00:00
Original source

Good morning
One question, how can I change the loot rate settings using LUA

As well as the damage of for example the Elites inside the dungeons to make independent damage changes from LUA?

rektbyfaith
Administrator
0
08-13-2023, 06:28 PM
#2
Archived author: Honey • Posted: 2023-08-13T18:28:45.976000+00:00
Original source

I can think of a creature event to add a custom aura on spawn or when an elite enters combat. However, that would override the existing AI.

I wouldn't approach that task with a lua script, but use either a zone-wide aura (doable in the db), use mod-autobalance (to scale for different amounts of players) or use mod-zone-difficulty for map-wide adjustments.
rektbyfaith
08-13-2023, 06:28 PM #2

Archived author: Honey • Posted: 2023-08-13T18:28:45.976000+00:00
Original source

I can think of a creature event to add a custom aura on spawn or when an elite enters combat. However, that would override the existing AI.

I wouldn't approach that task with a lua script, but use either a zone-wide aura (doable in the db), use mod-autobalance (to scale for different amounts of players) or use mod-zone-difficulty for map-wide adjustments.

rektbyfaith
Administrator
0
08-13-2023, 06:30 PM
#3
Archived author: Honey • Posted: 2023-08-13T18:30:06.580000+00:00
Original source

For loot, there is <https://www.azerothcore.org/pages/eluna/GameObject/SetLootState.html?search=lootmode> and you can use the Ulduar hardmode loot system with it.
rektbyfaith
08-13-2023, 06:30 PM #3

Archived author: Honey • Posted: 2023-08-13T18:30:06.580000+00:00
Original source

For loot, there is <https://www.azerothcore.org/pages/eluna/GameObject/SetLootState.html?search=lootmode> and you can use the Ulduar hardmode loot system with it.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)