A Project for Chronicle 4 based on L2JServer.


    Error calculate mp regen bonus in clanhall

    Share

    Flopix

    Posts : 10
    Join date : 2014-02-28

    Error calculate mp regen bonus in clanhall

    Post  Flopix on 3rd April 2016, 02:08

    Error on type cast value

    Formulas.java
    Code:

    - mpRegenMultiplier *= 1 + clansHall.getFunction(ClanHall.FUNC_RESTORE_MP).getLvl() / 100;

    + mpRegenMultiplier *= 1 + (double) clansHall.getFunction(ClanHall.FUNC_RESTORE_MP).getLvl() / 100;

      Current date/time is 23rd September 2017, 03:18