View Full Version : Another bug x-D
Dorign
03-28-2005, 12:45 AM
Let's say a user is level 11. On the Monster Arena page, a monster that requires level 11 will have a "challenge" link. However, if you hit "view," the link where "challenge" would be says "level too low!" and I believe it might be caused by using a different formula for the XP..? I don't know what else would do it. Anyway.. there ya go. :P
Revan
03-28-2005, 09:47 AM
Fixed. In the template rpg_monster_view, find the appropriate <if> statement and replace it with this:
<if condition="$ibot['levelrequired'] > $userlevel OR $bbuserinfo['xp'] == 0">
<div align="center" class="smallfont">[ <em>Level too low!</em> ]</div>
<else />
<div align="center" class="smallfont">[ <a href="monsterarena.php?$session[sessionurl]do=create&botid=$ibot[botid]">Challenge</a> ]</div>
</if>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.