File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ gulp.task('lint', function () {
1313 . pipe ( eslint . format ( ) ) ;
1414} ) ;
1515
16- gulp . task ( 'test' , function ( ) {
16+ gulp . task ( 'test' , [ 'lint' ] , function ( ) {
1717 gulp . src ( './spec/**/*' )
1818 . pipe ( jasmine ( { includeStackTrace : true } ) ) ;
1919} ) ;
Original file line number Diff line number Diff line change @@ -235,11 +235,10 @@ Battle.prototype._attack = function () {
235235Battle . prototype . _cast = function ( ) {
236236 var self = this ;
237237 self . _showScrolls ( function onScroll ( scrollId , scroll ) {
238- // Implementa lo que pasa cuando se ha seleccionado el hechizo.
239238 var aux = self . _charactersById [ self . _turns . activeCharacterId ] . party ;
240239 scroll = self . _grimoires [ aux ] [ scrollId ] ;
241240 self . _charactersById [ self . _turns . activeCharacterId ] . mp -= scroll . cost ;
242-
241+
243242 self . _showTargets ( function onTarget ( targetId ) {
244243 self . _action . targetId = targetId ;
245244 self . _action . effect = scroll . effect
You can’t perform that action at this time.
0 commit comments