1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How to add more resistance on chain armor ?

Discussion in 'Development' started by Oniii-Chan, Jan 8, 2018.

  1. Oniii-Chan

    Oniii-Chan Witch

    Messages:
    66
    GitHub:
    Vincent583
    Hi,
    I want to add more resistance on Chains Armor but when I edit Chains Armir on pocketmine\item\ChainsBoot-ChainsHelmet ...
    But when i change value of integer return public static function getResistance this add more heart but don't modify the Armor Resistance Bar
     

    Attached Files:

  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    You can't change the armour bar. It's client-sided.

    Also, we don't provide support for modifications to the source code here. You can override the ChainArmor classes using a plugin.
     
    EdwardHamHam and HyGlobalHD like this.
  3. Oniii-Chan

    Oniii-Chan Witch

    Messages:
    66
    GitHub:
    Vincent583
    Okey thx
     
  4. iCirgio

    iCirgio Slime

    Messages:
    92
    GitHub:
    lolnova
    I don't think toyYou can do that
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.