Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2Character.calculateTimeBetweenAttacks()


    double dmg2 = 0;


    // ATTACK speed in milliseconds
    int sAtk1 = npc1.calculateTimeBetweenAttacks(npc2, null);
    int sAtk2 = npc2.calculateTimeBetweenAttacks(npc1, null);
    // number of ATTACK per 100 seconds
    sAtk1 = 100000 / sAtk1;
    sAtk2 = 100000 / sAtk2;

    for (int i=0; i < 10000; i++)
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.