Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Reģistrēties
Pierakstīties
gitlord
/
isleward
spogulis no
https://gitlab.com/Isleward/isleward.git
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Laidieni
203
Vikivietne
Aktivitāte
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
12d204cba3
revīzija
6e38073233
3 mainītis faili
ar
2 papildinājumiem
un
9 dzēšanām
Dalītais skats
Salīdzināšanas iespējas
Rādīt statistiku
Lejupielādēt ielāpa failu
Lejupielādēt izmaiņu failu
+1
-6
src/server/config/effects/effectFrenzy.js
+0
-1
src/server/config/spells/spellFlurry.js
+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: {
Rakstīt
Priekšskatītījums
Notiek ielāde…
Atcelt
Saglabāt