elnelson
Lunaria World Dev
Hello bois, i was reading these functions. And i was wondering if its possible to extract the spellnames, condition immunities and damageimmunities in a popup (TFS 0.4)
LUA:
function getMonsterAttackSpells(name)
local monster = getMonsterInfo(name)
return monster and monster.attacks or false
end
function getMonsterHealingSpells(name)
local monster = getMonsterInfo(name)
return monster and monster.defenses or false
end
function getMonsterLootList(name)
local monster = getMonsterInfo(name)
return monster and monster.loot or false
end
function getMonsterSummonList(name)
local monster = getMonsterInfo(name)
return monster and monster.summons or false
end