圖檔取自Mac的HP/MP/EXP外掛....
http://phpbb-tw.net/phpbb/viewtopic.php ... hlight=EXP
需要不同圖檔的可以到FI去下載
http://www.forumimages.com
開始囉.....
開啟viewtopic.php
搜尋
代碼: 選擇全部
$template->assign_block_vars('postrow', array( 代碼: 選擇全部
$exptemp = 100*($postrow[$i]['rpg_cur_exp']/ $postrow[$i]['rpg_max_exp']);
$hptemp = 100 * ($postrow[$i]['rpg_cur_hp'] / $postrow[$i]['rpg_max_hp']);
$mptemp = 100 *($postrow[$i]['rpg_cur_mp']/ $postrow[$i]['rpg_max_mp']);代碼: 選擇全部
'POSTER_AVATAR' => $poster_avatar,代碼: 選擇全部
'RPG_LEVEL' => $postrow[$i]['rpg_level'],
'RPG_EXP_RATIO' => $exptemp,
'RPG_HP_RATIO' => $hptemp,
'RPG_MP_RATIO' => $mptemp,
'RPG_CUR_HP' => $postrow[$i]['rpg_cur_hp'],
'RPG_CUR_MP' => $postrow[$i]['rpg_cur_mp'],
'RPG_CUR_EXP' => $postrow[$i]['rpg_cur_exp'],
'RPG_MAX_HP' => $postrow[$i]['rpg_max_hp'],
'RPG_MAX_MP' => $postrow[$i]['rpg_max_mp'],
'RPG_MAX_EXP' => $postrow[$i]['rpg_max_exp'],開啟templates/subSilver/viewtopic_body.tpl
搜尋
代碼: 選擇全部
{postrow.POSTER_FROM}</span><br />代碼: 選擇全部
<!-- RPG Mod -->
<!--<br />-->
<span class="postdetails">等級: <strong><font color=red>{postrow.RPG_LEVEL}</font>
<table width="143" border="0" cellpadding="0" cellspacing="0" style="background-image:url(templates/subSilver/images/level_mod/lm_bkg.gif)">
<tr>
<td><img src="images/spacer.gif" alt="" width="31" height="49" /></td>
<td width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/spacer.gif" alt="" width="20" height="6" /></td>
</tr>
<tr>
<td><img src="templates/subSilver/images/level_mod/lm_hp_bar.gif" alt="{postrow.RPG_CUR_HP}/{postrow.RPG_MAX_HP}" title="{postrow.RPG_CUR_HP} / {postrow.RPG_MAX_HP}" width="{postrow.RPG_HP_RATIO}" height="9" /><img src="templates/subSilver/images/level_mod/lm_hp_bar_end.gif" alt="" width="4" height="9" /></td>
</tr>
<tr>
<td><img src="images/spacer.gif" alt="" width="20" height="4" /></td>
</tr>
<tr>
<td><img src="templates/subSilver/images/level_mod/lm_mp_bar.gif" alt="{postrow.RPG_CUR_MP}/{postrow.RPG_MAX_MP}" title="{postrow.RPG_CUR_MP} / {postrow.RPG_MAX_MP}" width="{postrow.RPG_MP_RATIO}" height="9" /><img src="templates/subSilver/images/level_mod/lm_mp_bar_end.gif" alt="" width="4" height="9" /></td>
</tr>
\n<tr>
<td><img src="images/spacer.gif" alt="" width="20" height="4" /></td>
</tr>
<tr>
<td><img src="templates/subSilver/images/level_mod/lm_exp_bar.gif" alt="{postrow.RPG_CUR_EXP}/{postrow.RPG_MAX_EXP}" title="{postrow.RPG_CUR_EXP} / {postrow.RPG_MAX_EXP}" width="{postrow.RPG_EXP_RATIO}" height="9" /><img src="templates/subSilver/images/level_mod/lm_exp_bar_end.gif" alt="" width="4" height="9" /></td>
</tr>
<tr>
<td><img src="images/spacer.gif" alt="" width="20" height="8" /></td>
</tr>
</table>
</td>
</tr>
</table>
</span>
<!-- [END RPG MOD] --> 