Pārlūkot izejas kodu

Revert "fixes #925"

This reverts commit 5660c2922a
tags/v0.3.3^2
Big Bad Waffle pirms 4 gadiem
vecāks
revīzija
6e38073233
3 mainītis faili ar 2 papildinājumiem un 9 dzēšanām
  1. +1
    -6
      src/server/config/effects/effectFrenzy.js
  2. +0
    -1
      src/server/config/spells/spellFlurry.js
  3. +1
    -2
      src/server/config/spellsConfig.js

+ 1
- 6
src/server/config/effects/effectFrenzy.js Parādīt failu

@@ -1,15 +1,10 @@
module.exports = {
type: 'frenzy',

newCd: 0,
chance: 0,

events: {
beforeSetSpellCooldown: function (msg, spell) {
if (!spell.auto || !spell.isAttack)
return;

if (Math.random() * 100 >= this.chance)
if (!spell.auto)
return;

msg.cd = this.newCd;


+ 0
- 1
src/server/config/spells/spellFlurry.js Parādīt failu

@@ -35,7 +35,6 @@ module.exports = {
this.obj.effects.addEffect({
type: 'frenzy',
ttl: this.duration,
chance: this.chance,
newCd: 1
});
}


+ 1
- 2
src/server/config/spellsConfig.js Parādīt failu

@@ -119,8 +119,7 @@ let spells = {
castTimeMax: 0,
manaCost: 12,
random: {
i_duration: [10, 20],
i_chance: [20, 50]
i_duration: [4, 9]
}
},
smokebomb: {


Notiek ielāde…
Atcelt
Saglabāt