mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Spells/Attributes
* update spell attribute descriptions primary from TC, secondary from Wowdev Wiki (not guaranteed to be correct for 335) * show all attributes on SpellDetailPage * update links from attributes to SpellFilter * unsure: should the attribute filters work purely on attributes or also consider other factors? * implement some of the client side modifiers on the spell tooltips and buffs
This commit is contained in:
@@ -281,17 +281,20 @@ $WH.aE(window,\'load\',function(){$WH.ge(\'spelleffectmarkup-'.$i.'\').innerHTML
|
||||
</tr>
|
||||
<?php
|
||||
endforeach;
|
||||
|
||||
if ($this->attributes):
|
||||
?>
|
||||
<tr>
|
||||
<th><?=Lang::game('flags');?></th>
|
||||
<td colspan="3" style="line-height:17px">
|
||||
<ul style="margin:0"><?php
|
||||
foreach ($this->attributes as $cr):
|
||||
echo '<li><a href="?spells&filter=cr='.$cr.';crs=1;crv=0">'.Lang::spell('attributes', $cr).'</a></li>';
|
||||
endforeach;
|
||||
foreach ($this->attributes as $a):
|
||||
echo '<li>'.$a.'</li>';
|
||||
endforeach;
|
||||
?></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
|
||||
<h2 class="clear"><?=Lang::main('related');?></h2>
|
||||
|
||||
Reference in New Issue
Block a user