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:
Sarjuuk
2025-04-10 17:31:54 +02:00
parent 9c73f3cf95
commit d75aa56b38
19 changed files with 2106 additions and 743 deletions

View File

@@ -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>