mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 22:54:53 +02:00
finish market system for real
This commit is contained in:
@@ -998,3 +998,22 @@ end
|
||||
function Guild.removeMember(self, player)
|
||||
return player:getGuild() == self and player:setGuild(nil)
|
||||
end
|
||||
|
||||
function getCombatName(combat)
|
||||
local combats = {
|
||||
[COMBAT_PHYSICALDAMAGE] = 'physical',
|
||||
[COMBAT_ENERGYDAMAGE] = 'energy',
|
||||
[COMBAT_EARTHDAMAGE] = 'earth',
|
||||
[COMBAT_FIREDAMAGE] = 'fire',
|
||||
[COMBAT_UNDEFINEDDAMAGE] = 'undefined',
|
||||
[COMBAT_LIFEDRAIN] = 'lifedrain',
|
||||
[COMBAT_MANADRAIN] = 'manadrain',
|
||||
[COMBAT_HEALING] = 'healing',
|
||||
[COMBAT_DROWNDAMAGE] = 'drown',
|
||||
--[COMBAT_ICEDAMAGE] = 'ice',
|
||||
--[COMBAT_HOLYDAMAGE] = 'holy',
|
||||
--[COMBAT_DEATHDAMAGE] = 'death'
|
||||
}
|
||||
|
||||
return combats[combat]
|
||||
end
|
Reference in New Issue
Block a user