Help PlanetRessUpdate

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Help PlanetRessUpdate

    I'm english is no good.
    I made a metal resource update building.
    Made a 5% increase in metal for each planetary building, but it doesn't work.
    $resource[35] // Increases metal by 5% per level

    Is class.PlanetRessUpdate.php correct?

    If yes, how do I apply it?
    if not, how do I apply resource updates?

    $this->PLANET['metal_perhour'] = ($temp[901]['plus'] * (1 + $this->USER['factor']['Resource'] + 0.02 * $this->USER[ $resource[131]]) * $prodLevel + $temp[901]['minus']) * $this->config->resource_multiplier;
    --------------------------------------------------------------------------------------