Spells/Effects
* only use MiscValue as spellid for SpellEffect:155 * interpret and display SpellEffect 293 * SpellEffects 131 & 132 can both play audio
This commit is contained in:
parent
f3d694ac79
commit
92394e415a
9 changed files with 80 additions and 11 deletions
|
|
@ -212,9 +212,9 @@ foreach ($this->effects as $i => $e):
|
|||
echo "<small>".$smallBuf."</small>\n";
|
||||
endif;
|
||||
|
||||
if (isset($e['sound'])):
|
||||
echo '<br/><div id="spelleffectsound-'.$i.'" style="display: inline-block"></div><script type="text/javascript">//<![CDATA[
|
||||
$WH.aE(window,\'load\',function(){$WH.ge(\'spelleffectsound-'.$i.'\').innerHTML = Markup.toHtml(\'[sound='.$e['sound'].']\');});
|
||||
if (isset($e['markup'])):
|
||||
echo '<br/><div id="spelleffectmarkup-'.$i.'" style="display: inline-block"></div><script type="text/javascript">//<![CDATA[
|
||||
$WH.aE(window,\'load\',function(){$WH.ge(\'spelleffectmarkup-'.$i.'\').innerHTML = Markup.toHtml(\''.$e['markup'].'\');});
|
||||
//]]></script>';
|
||||
endif;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue