11 lines
445 B
Lua
11 lines
445 B
Lua
-- Creature Module
|
|
|
|
function on_creature_taming( tamer_nickname, taming_pet_id, taming_pet_rate, monster_name_id )
|
|
local min_server_rarity_defined = tonumber(get_env("game.creature_taming_announcement_min")) or 0
|
|
|
|
local CreatureName = '@' .. monster_name_id
|
|
local noticeString = sconv("@500101", "#@charname@#", tamer_nickname, "#@petname@#", CreatureName)
|
|
if min_server_rarity_defined <= taming_pet_rate then
|
|
notice(noticeString)
|
|
end
|
|
end |