XG-Proyect-v3.x.x icon indicating copy to clipboard operation
XG-Proyect-v3.x.x copied to clipboard

Tecnología de Hiperespacio 2% por nivel.

Open jonamix-ar opened this issue 1 year ago • 0 comments

Tecnologia de hyperspacio formula diferente, segun ogame es el 2% de aumento por cada nivel

image

Esta es la que tenemos nosotros return intval($ship_storage + ($ship_storage * 0.05 * $hyperspace_tech_level)); Debería ser Asi

return intval($ship_storage + ($ship_storage * (($hyperspace_tech_level * 2) / 100)));

image

Dependiendo el universo cambia el porcentaje

https://s143-ar.ogame.gameforge.com/api/serverData.xml es x5

https://s801-en.ogame.gameforge.com/api/serverData.xml es x2

jonamix-ar avatar Nov 13 '23 02:11 jonamix-ar