Consolidate helpers
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import {translator as t} from '../helpers';
|
||||
import {diminishingReturns, calculateBonus, setSpellDefaults} from './spell-helper';
|
||||
import {
|
||||
translator as t,
|
||||
diminishingReturns,
|
||||
calculateBonus,
|
||||
setSpellDefaults
|
||||
} from '../helpers';
|
||||
|
||||
import {each} from 'lodash';
|
||||
|
||||
let heal = {
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
import {translator as t} from '../helpers';
|
||||
import {diminishingReturns, calculateBonus} from './spell-helper';
|
||||
|
||||
import wizard from './wizard';
|
||||
import warrior from './warrior';
|
||||
import healer from './healer';
|
||||
@@ -28,7 +25,6 @@ import special from './special';
|
||||
Note, user.stats.mp is docked after automatically (it's appended to functions automatically down below in an _.each)
|
||||
*/
|
||||
|
||||
|
||||
var spells = {
|
||||
wizard: wizard,
|
||||
warrior: warrior,
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import {translator as t} from '../helpers';
|
||||
import {diminishingReturns, calculateBonus, setSpellDefaults} from './spell-helper';
|
||||
import {
|
||||
translator as t,
|
||||
diminishingReturns,
|
||||
calculateBonus,
|
||||
setSpellDefaults
|
||||
} from '../helpers';
|
||||
import {each} from 'lodash';
|
||||
|
||||
let pickPocket = {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import {translator as t} from '../helpers';
|
||||
import {diminishingReturns, calculateBonus, setSpellDefaults} from './spell-helper';
|
||||
import { translator as t } from '../helpers';
|
||||
import {each} from 'lodash';
|
||||
|
||||
let snowball = {
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import {translator as t} from '../helpers';
|
||||
import {diminishingReturns, calculateBonus, setSpellDefaults} from './spell-helper';
|
||||
import {
|
||||
translator as t,
|
||||
diminishingReturns,
|
||||
calculateBonus,
|
||||
setSpellDefaults
|
||||
} from '../helpers';
|
||||
import {each} from 'lodash';
|
||||
|
||||
let smash= {
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import {translator as t} from '../helpers';
|
||||
import {diminishingReturns, calculateBonus, setSpellDefaults} from './spell-helper';
|
||||
import {
|
||||
translator as t,
|
||||
diminishingReturns,
|
||||
calculateBonus,
|
||||
setSpellDefaults
|
||||
} from '../helpers';
|
||||
import {each} from 'lodash';
|
||||
|
||||
let fireball = {
|
||||
|
||||
Reference in New Issue
Block a user