Module:An

From Heroes 3 wiki
Revision as of 22:12, 30 January 2024 by Imahero (talk | contribs) (Created page with "local p = {} --p stands for package function p.hover( frame ) if frame.args[1] == 'Armor of the Damned' then return 'All opponents have these spells effective on them for fifty turns: Slow, Curse, Weakness, and Misfortune. Component effects: +3 to Attack and Defense, +2 to Spell Power and Knowledge.' elseif frame.args[1] == 'Horn of the Abyss' then return 'After a stack of living creatures is slain, a stack of Fangarms will rise in their stead and will stay loya...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

usage

[[File:Horn of the Abyss_am-artif.gif|{{#invoke:an|hover|Horn of the Abyss}}]]

After a stack of living creatures is slain, a stack of Fangarms will rise in their stead and will stay loyal to the hero after the battle concludes.


local p = {} --p stands for package

function p.hover( frame )
	if frame.args[1] == 'Armor of the Damned'  then
		return 'All opponents have these spells effective on them for fifty turns: Slow, Curse, Weakness, and Misfortune. Component effects: +3 to Attack and Defense, +2 to Spell Power and Knowledge.'
	elseif frame.args[1] == 'Horn of the Abyss'  then
		return 'After a stack of living creatures is slain, a stack of Fangarms will rise in their stead and will stay loyal to the hero after the battle concludes.'
	else
		return frame.args[1]
	end
end

return p