Hero Battle - pival13/FehWikiBot GitHub Wiki

A module use to create Grand, Bound, Legendary and Mythic Hero Battle map pages. Can be use to add a new revival or a Limited version as well.

Functions

GrandHeroBattle()

GrandHeroBattle(mapId)

Parameter Type
mapId String

Return: String


BoundHeroBattle()

BoundHeroBattle(mapId)

Parameter Type
mapId String

Return: Dict (String, String)


LegendaryHeroBattle()

LegendaryHeroBattle(mapId)

Parameter Type
mapId String

Return: String


LimitedHeroBattle()

LimitedHeroBattle(mapId)

Parameter Type
mapId String

Return: Dict (String, String)


RevivalHeroBattle()

RevivalHeroBattle(mapId)

Parameter Type
mapId String

Return: Dict (String, String)


__main__

python3 HB.py [mapId]...

Internal functions

getHeroWithName()

getHeroWithName(name)

Parameter Type
name String

Return: Person object


getBHBHero()

getBHBHero(mapId)

Parameter Type
mapId String

Return: List (String)


HBMapInfobox()

HBMapInfobox(StageEvent, group, SRPGMap)

Parameter Type Default
StageEvent StageEvent object
group String
SRPGMap SRPGMap object None

Return: String


HBUnitData()

HBUnitData(StageEvent, SRPGMap, hero)

Parameter Type
StageEvent StageEvent object
SRPGMap SRPGMap object
hero Person object / List (Person object)

Return: String


LimitedHeroBattleTemplate()

LimitedHeroBattleTemplate(StageEvent)

Parameter Type
StageEvent StageEvent object

Return: String

⚠️ **GitHub.com Fallback** ⚠️