This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Este script incrementa la dificultad del juego globalmente. | |
# Reduce la cantidad de oro y experiencia que da cada NPC | |
import os | |
import re | |
# Ruta al archivo NPCS.DAT | |
file_path = r'C:\Users\reco_\github-projects\ao20\Recursos\Dat\npcs.dat' | |
# Verificar si el archivo existe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
myService: Ember.inject.service('my-service'), | |
appName: 'Ember Twiddle', | |
init() { | |
this.get('myService'); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
import file from '../file'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
variable: file.variable, | |
adToShow: Ember.computed("file.variable.{catType,listCategory,search}", function() { | |
if (file.variable.search == true) { | |
return "ad-search" | |
}else if (file.variable.listCategory) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
import file from '../file'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
adToShow: Ember.computed("file.variable.{catType,listCategory,search}", function() { | |
if (file.variable.search == true) { | |
return "ad-search" | |
}else if (file.variablelistCategory) { | |
return "ad-listing-details"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
import file from '../file'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
adToShow: Ember.computed("file.variable.{catType,listCategory,search}", function() { | |
if (file.variable.search == true) { | |
return "ad-search" | |
}else if (file.variablelistCategory) { | |
return "ad-listing-details"; |