ソースを参照

bug: Fixed a crash caused by castSpellOnHit spells not having a name

(cherry picked from commit 7b884034ab)
tags/v0.8.3.5
Shaun 3年前
committed by Big Bad Waffle
コミット
ac88a4565b
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      src/server/config/itemEffects/castSpellOnHit.js

+ 2
- 1
src/server/config/itemEffects/castSpellOnHit.js ファイルの表示

@@ -22,7 +22,8 @@ module.exports = {

const spellName = 'spell' + spell.replace(/./, spell.toUpperCase()[0]);
const spellTemplate = require(`../spells/${spellName}`);
const builtSpell = extend({ obj: this }, spellBaseTemplate, spellTemplate, {
const builtSpell = extend({ obj: this }, spellBaseTemplate, spellTemplate, {
name: spellName,
noEvents: true,
statType,
damage: spellDamage,


読み込み中…
キャンセル
保存