ADD A SOUND EFFECT WHEN IS YOUR TURN
This is a small modification to add a background sound
that indicates when is YOUR TURN TO ATTACK
It's useful because sometimes you are in a battle
but you are browsing other web pages too,
and you can forget that you are in a battle or you won't have to
constantly check if it's your turn or not...
so, here is the modification:
edit the template:
petz_battle
find the code:
PHP Code:
<if condition="$player1==182">
replace it with:
PHP Code:
<if condition="$player1==182">
<EMBED SRC=$vboptions[bburl]/turn_01.mp3 width=0 height=0 autostart=true loop=0>
then find the code:
PHP Code:
<if condition="$player2==182">
and replace it with:
PHP Code:
<if condition="$player2==182">
<EMBED SRC=$vboptions[bburl]/turn_01.mp3 width=0 height=0 autostart=true loop=0>
That's all
Download the sound file from this post, you have 3 available sound options,
rename to "turn_01.mp3" the file you want to use...
upload the sound "
turn_01.mp3" to your forum root directory
(where is stored the petz.php file)
Enjoy it!