mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-07 22:13:40 -04:00
+1
-1
Submodule client-holocore updated: 18e78ef9b4...a655e1a476
+1760
-1760
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -44,7 +44,7 @@ public final class ExperienceIntent extends Intent {
|
||||
this.creatureObject = creatureObject;
|
||||
this.xpType = xpType;
|
||||
this.experienceGained = experienceGained;
|
||||
this.multiply = false;
|
||||
this.multiply = multiply;
|
||||
}
|
||||
|
||||
public CreatureObject getCreatureObject() {
|
||||
|
||||
@@ -187,8 +187,8 @@ public class NPCCreator {
|
||||
private static WeaponObject createWeapon(DetailNpcStatInfo detailNpcStat, String template) {
|
||||
try {
|
||||
WeaponObject weapon = (WeaponObject) ObjectCreator.createObjectFromTemplate(template);
|
||||
weapon.setMinDamage((int) (detailNpcStat.getDamagePerSecond() * 0.90));
|
||||
weapon.setMaxDamage(detailNpcStat.getDamagePerSecond());
|
||||
weapon.setMinDamage((int) (detailNpcStat.getDamagePerSecond() * 2 * 0.90));
|
||||
weapon.setMaxDamage(detailNpcStat.getDamagePerSecond() * 2);
|
||||
int range = DataLoader.npcWeaponRanges().getWeaponRange(template);
|
||||
if (range == -1)
|
||||
Log.w("Failed to load weapon range for: %s", template);
|
||||
|
||||
Reference in New Issue
Block a user