Implemented Auto Shots with Config.
This commit is contained in:
@ -374,7 +374,7 @@ public abstract class Inventory extends ItemContainer
|
||||
|
||||
if (item.isWeapon())
|
||||
{
|
||||
player.handleAutoShots();
|
||||
player.handleAutoShots(false);
|
||||
}
|
||||
}
|
||||
|
||||
@ -470,7 +470,7 @@ public abstract class Inventory extends ItemContainer
|
||||
|
||||
if (item.isWeapon())
|
||||
{
|
||||
player.handleAutoShots();
|
||||
player.handleAutoShots(Config.ENABLE_AUTO_SHOTS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -460,7 +460,7 @@ public class PcInventory extends Inventory
|
||||
|
||||
if (item.isEtcItem() && (item.getItemType() == EtcItemType.SOULSHOT))
|
||||
{
|
||||
actor.handleAutoShots();
|
||||
actor.handleAutoShots(false);
|
||||
}
|
||||
|
||||
// Notify to scripts
|
||||
@ -516,7 +516,7 @@ public class PcInventory extends Inventory
|
||||
|
||||
if (item.isEtcItem() && (item.getItemType() == EtcItemType.SOULSHOT))
|
||||
{
|
||||
actor.handleAutoShots();
|
||||
actor.handleAutoShots(false);
|
||||
}
|
||||
|
||||
// Notify to scripts
|
||||
|
Reference in New Issue
Block a user