View source for Module:Monsters
From Melvor Idle
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
local Constants = require('Module:Constants')
local Shared = require('Module:Shared')
local Common = require('Module:Common')
local GameData = require('Module:GameData')
local Areas = require('Module:CombatAreas')
local Magic = require('Module:Magic')
local Icons = require('Module:Icons')
local Items = require('Module:Items')
local Num = require('Module:Number')
function p.getMonster(name)
if name == 'Earth Golem (AoD)' then
-- Special case for ambiguous monster name
return p.getMonsterByID('melvorAoD:EarthGolem')
else
return GameData.getEntityByName('monsters', name)
end
000
1:0
Template used on this page:
Return to Module:Monsters.