Ver código fonte

fixes #1327

tags/v0.4.2^2
Big Bad Waffle 4 anos atrás
pai
commit
99c24bf88d
3 arquivos alterados com 4 adições e 44 exclusões
  1. +3
    -7
      src/client/ui/templates/createCharacter/template.html
  2. +1
    -1
      src/client/ui/templates/reputation/template.html
  3. +0
    -36
      src/server/config/prophecies/titangrip.js

+ 3
- 7
src/client/ui/templates/createCharacter/template.html Ver arquivo

@@ -27,13 +27,9 @@
<div class="heading">prophecies</div>
<div class="list">
<div prophecy="austere" tooltip="you live a simple life and will only use common and magic items" class="prophecy">austere</div>
<div prophecy="butcher" tooltip="you can engage other butchers in combat" class="prophecy">butcher</div>
<div prophecy="crushable" tooltip="take quadruple damage from all sources" class="prophecy">crushable</div>
<div prophecy="hardcore" tooltip="death is permanent" class="prophecy">hardcore</div>
<div prophecy="titangrip" tooltip="gain double stats from weapons" class="prophecy">titangrip</div>
<div class="prophecy disabled">waterproof</div>
<div class="prophecy disabled">wolfborn</div>
<div class="prophecy disabled">demonic</div>
<div prophecy="butcher" tooltip="you will engage other butchers in combat" class="prophecy">butcher</div>
<div prophecy="crushable" tooltip="you will take quadruple damage from all sources" class="prophecy">crushable</div>
<div prophecy="hardcore" tooltip="your death will be permanent" class="prophecy">hardcore</div>
</div>
</div>
</div>


+ 1
- 1
src/client/ui/templates/reputation/template.html Ver arquivo

@@ -16,4 +16,4 @@
<div class="tier"></div>
</div>
</div>
</div>
</div>

+ 0
- 36
src/server/config/prophecies/titangrip.js Ver arquivo

@@ -1,36 +0,0 @@
module.exports = {
type: 'titangrip',

init: function () {

},

simplify: function () {
return this.type;
},

events: {
afterEquipItem: function (item) {
if (['oneHanded', 'twoHanded'].indexOf(item.slot) === -1)
return;

let stats = item.stats;
for (let s in stats) {
let val = stats[s];

this.obj.stats.addStat(s, val);
}
},
afterUnequipItem: function (item) {
if (['oneHanded', 'twoHanded'].indexOf(item.slot) === -1)
return;

let stats = item.stats;
for (let s in stats) {
let val = stats[s];

this.obj.stats.addStat(s, -val);
}
}
}
};

Carregando…
Cancelar
Salvar