forked from MagicBane/Server
Name simplification for collection
This commit is contained in:
@@ -595,7 +595,7 @@ public enum CombatManager {
|
||||
// Apply Weapon power effect if any. don't try to apply twice if
|
||||
// dual wielding. Perform after passive test for sync purposes.
|
||||
|
||||
ItemTemplate template = ItemTemplate.itemTemplates.get(wb.getUUID());
|
||||
ItemTemplate template = ItemTemplate.templates.get(wb.getUUID());
|
||||
|
||||
if (attacker.getObjectType().equals(GameObjectType.PlayerCharacter) && (mainHand || ItemTemplate.isTwoHanded(template))) {
|
||||
|
||||
@@ -813,7 +813,7 @@ public enum CombatManager {
|
||||
// Apply Weapon power effect if any.
|
||||
// don't try to apply twice if dual wielding.
|
||||
|
||||
ItemTemplate template = ItemTemplate.itemTemplates.get(wb.getUUID());
|
||||
ItemTemplate template = ItemTemplate.templates.get(wb.getUUID());
|
||||
if (attacker.getObjectType().equals(GameObjectType.PlayerCharacter) && (mainHand || ItemTemplate.isTwoHanded(template))) {
|
||||
dpj = ((PlayerCharacter) attacker).getWeaponPower();
|
||||
|
||||
@@ -982,7 +982,7 @@ public enum CombatManager {
|
||||
if (wb == null)
|
||||
return 75;
|
||||
|
||||
ItemTemplate template = ItemTemplate.itemTemplates.get(wb.getUUID());
|
||||
ItemTemplate template = ItemTemplate.templates.get(wb.getUUID());
|
||||
|
||||
if (mainHand) {
|
||||
if (template.weapon_attack_anim_right.size() > 0) {
|
||||
|
||||
Reference in New Issue
Block a user