/** * @version 0.1.3 * @since 0.0.7 * @param string $name Rune name. * @return OTS_Spell Rune spell wrapper (null if rune does not exist). * @throws E_OTS_NotLoaded If spells list is not loaded. * @deprecated 0.1.3 Use POT::getSpellsList()->getRune(). */ public function getRune($name) { if (isset($this->spells)) { return $this->spells->getRune($name); } throw new E_OTS_NotLoaded(); }