Skip to content

Commit

Permalink
Revert "Add Mercenary Library"
Browse files Browse the repository at this point in the history
This reverts commit a19ba9b.
  • Loading branch information
MikeKGilmore committed Apr 14, 2019
1 parent 788f849 commit 504066a
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 581 deletions.
1 change: 0 additions & 1 deletion d2bs/kolbot/default.dbj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ include("common/Precast.js");
include("common/Prototypes.js");
include("common/Runewords.js");
include("common/Storage.js");
include("common/Mercenary.js");
include("common/Town.js");

function main() {
Expand Down
2 changes: 1 addition & 1 deletion d2bs/kolbot/libs/GameAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ var GameAction = {

if (this.LogMerc) {
for (i = 0; i < 3; i += 1) {
merc = Mercenary.getMerc();
merc = me.getMerc();

if (merc) {
break;
Expand Down
2 changes: 1 addition & 1 deletion d2bs/kolbot/libs/MuleLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ var MuleLogger = {

if (this.LogMerc) {
for (i = 0; i < 3; i += 1) {
merc = Mercenary.getMerc();
merc = me.getMerc();

if (merc) {
break;
Expand Down
2 changes: 1 addition & 1 deletion d2bs/kolbot/libs/common/Attack.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ var Attack = {
var i, merc, item;

for (i = 0; i < 3; i += 1) {
merc = Mercenary.getMerc();
merc = me.getMerc();

if (merc) {
break;
Expand Down
Loading

0 comments on commit 504066a

Please sign in to comment.