Files
Leviathan/GameServer/Resource/script/Custom/GuildManager.lua
T
2026-06-01 12:46:52 +02:00

18 lines
486 B
Lua

GuildManager = GuildManager or {}
function GuildManager:OnGuildBuff( guild_level, guild_point, player_name )
local GuildBuffDuration = tonumber(get_env("game.guild_buff_minute")) or 60
local shouldBeAppliedOnCreatures = tonumber(get_env("game.guild_buff_work_on_creatures")) or 1
if shouldBeAppliedOnCreatures == 1 then
add_cstate( 6523, guild_level, ( GuildBuffDuration * 100 ) )
end
end
function GuildManager:OnGuildDonation( donated_amount, guild_points, player_name)
end