Module:An

From Heroes 3 wiki
Revision as of 17:37, 17 April 2024 by Legate (talk | contribs) (Formatting)
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.<br>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