Jump to content

Sdw

Members
  • Posts

    1,142
  • Credits

  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Community Answers

  1. Sdw's post in Damage before the animation received was marked as the answer   
    It might I don't remember really but most l2j pack use wrong formula either way.
     
    You might want to check that :
     
    https://bitbucket.org/UnAfraid/l2junity/src/d4e5e5ba7a96d89eb9081b897ba59c6024ec78e0/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/stats/Formulas.java?at=master&fileviewer=file-view-default#Formulas.java-443
     
    Following method and usage. 
  2. Sdw's post in [Drop System] Item Selection was marked as the answer   
    Content within group is 100% and chance is cumulative.
     
    double totalChance = 0;
    final double random = (Rnd.nextDouble() * 100);
    for (Item item : getItemOfGroup())
    {
    totalChance += item.getChance();
    if (totalChance > random)
    {
    drop(item);
    break;
    }
    }
  3. Sdw's post in Decode Dat To Txt was marked as the answer   
    https://gist.github.com/Sdwz/7a2f76394edc0b27e16bb26797f97e8c
     
    made it json for the fun
  4. Sdw's post in Problem With Admin Access On Vanganath L2Off Pack was marked as the answer   
    Check buildercmd.txt
×
×
  • Create New...