Quote:
Today at 12:13 PM v0id said this in Post #1708
Bytsis, in the itemshop categories when you chose "+1 to atk/+1 to def" it doesnt do anything :P
It doesnt even add +1, and the buff wont work either.
|
Items with this battle type will add to your attack damage or defense rating as long as you have them in your inventory. Make sure the items have a buff value assigned, or else they won't add anything.
Quote:
Today at 12:13 PM v0id said this in Post #1708
Also, can you explain how damage is calculated? Or in which post in this thread can I read about it?
|
https://vborg.vbsupport.ru/showthrea...314#post359314
Quote:
Today at 12:19 PM v0id said this in Post #1709
Also Bytsis, this was posted somewhere on page 158 I believe:
PHP Code:
if($battleopt[givewinexp] == 1 && $battleopt[expperwin] > 0) {
if($battle[winnerid] > 0)
$DB_site->query("UPDATE user SET xp=xp+($opponentlevel*$battleopt[expperwin] WHERE userid='$battle[winnerid]'");
}
Is it safe for me to replace your code with that modification?
|
I don't see a page 158

Could you give a link?
Just glancing at it though, that code looks fine.