Examples of calcHpRegen()


Examples of net.sf.l2j.gameserver.skills.Formulas.calcHpRegen()

    // total damage per 100 seconds
    int tdmg1 = (int)(sAtk1 * dmg1);
    int tdmg2 = (int)(sAtk2 * dmg2);
    // HP restored per 100 seconds
    double maxHp1 = npc1.getMaxHp();
    int hp1 = (int)(f.calcHpRegen(npc1) * 100000 / f.getRegeneratePeriod(npc1));

    double maxHp2 = npc2.getMaxHp();
    int hp2 = (int)(f.calcHpRegen(npc2) * 100000 / f.getRegeneratePeriod(npc2));

    NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
View Full Code Here

Examples of net.sf.l2j.gameserver.skills.Formulas.calcHpRegen()

    // HP restored per 100 seconds
    double maxHp1 = npc1.getMaxHp();
    int hp1 = (int)(f.calcHpRegen(npc1) * 100000 / f.getRegeneratePeriod(npc1));

    double maxHp2 = npc2.getMaxHp();
    int hp2 = (int)(f.calcHpRegen(npc2) * 100000 / f.getRegeneratePeriod(npc2));

    NpcHtmlMessage adminReply = new NpcHtmlMessage(5);

    TextBuilder replyMSG = new TextBuilder();
    replyMSG.append("<html><title>Selected mobs to fight</title>");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.