Browse Source

Fixed #1

tags/v0.1.2
bigbadwaffle 7 years ago
parent
commit
97a8174406
4 changed files with 1 additions and 19 deletions
  1. +0
    -5
      src/client/ui/templates/characters/characters.js
  2. +0
    -10
      src/client/ui/templates/login/login.js
  3. +0
    -3
      src/client/ui/templates/trade/trade.js
  4. +1
    -1
      src/server/components/trade.js

+ 0
- 5
src/client/ui/templates/characters/characters.js View File

@@ -101,9 +101,6 @@ define([

if (i == 0)
li.click();

//if (c.name == 'Rivenrime')
// li.click();
}, this);
},
onCharacterClick: function(name, e) {
@@ -175,8 +172,6 @@ define([
this.find('.name').html(name + ' (hc - rip)');
this.find('.btnPlay').addClass('disabled');
}

this.find('.btnPlay').click();
},

setMessage: function(msg) {


+ 0
- 10
src/client/ui/templates/login/login.js View File

@@ -28,16 +28,6 @@ define([
.on('keyup', this.onKeyDown.bind(this))
.eq(0).focus();

var name = 'aaa';
if (window.location.search == '?b')
name = 'bbb';
else if (window.location.search == '?c')
name = 'ccc';

this.find('input').eq(0).val('waffle');
this.find('input').eq(1).val('1skulpie');
this.find('.btnLogin').click();

renderer.buildTitleScreen();
},



+ 0
- 3
src/client/ui/templates/trade/trade.js View File

@@ -111,9 +111,6 @@ define([
},

onClick: function(el, item, action, e) {
//if ((action == 'buy') && (item.worth > window.player.trade.gold))
// return;

el.addClass('disabled');

client.request({


+ 1
- 1
src/server/components/trade.js View File

@@ -239,7 +239,7 @@ define([

this.obj.syncer.set(true, 'trade', 'sellList', {
markup: target.trade.markup.buy,
items: this.obj.inventory.items
items: this.obj.inventory.items.filter(i => ((i.worth > 0) && (!i.eq)))
});
},



Loading…
Cancel
Save