MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / formatCastSpell

Method formatCastSpell

source/spells/Spell.cpp:181–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181std::string Spell::formatCastSpell(SpellType type, uint32_t price)
182{
183 return "Cast " + SpellManager::getSpellReadableName(type) + " [" + Helper::toString(price)+ " Mana]";
184}
185
186void Spell::fireSpellSound(Tile& tile, const std::string& soundFamily)
187{

Callers

nothing calls this directly

Calls 1

toStringFunction · 0.50

Tested by

no test coverage detected