Sfoglia il codice sorgente

fixed a spell casting bug and stash won't work twice in a row

tags/v0.2.1^2
Big Bad Waffle 5 anni fa
parent
commit
a303e8e154
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +1
    -1
      src/client/index.html
  2. +1
    -1
      src/client/js/components/spellbook.js
  3. +1
    -1
      src/client/js/components/stash.js

+ 1
- 1
src/client/index.html Vedi File

@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>test</title>
<title>Isleward PTR</title>
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
<script src="js/system/addons.js"></script>
<script src="plugins/require.js" data-main="js/app"></script>


+ 1
- 1
src/client/js/components/spellbook.js Vedi File

@@ -149,7 +149,7 @@ define([
} else if (isNaN(key))
return;

let spell = this.getSpell(key);
let spell = this.getSpell(~~key);
if (!spell)
return;



+ 1
- 1
src/client/js/components/stash.js Vedi File

@@ -15,7 +15,7 @@ define([
},

extend: function (blueprint) {
if (blueprint.active !== null)
if (blueprint.has('active'))
this.active = blueprint.active;

if (blueprint.getItems) {


Caricamento…
Annulla
Salva