Remove console logs
parent
6cc1773459
commit
81de11cc61
|
|
@ -1320,11 +1320,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||||
else {
|
else {
|
||||||
let typeBoost = source.findTag(t => t instanceof TypeBoostTag && (t as TypeBoostTag).boostedType === type) as TypeBoostTag;
|
let typeBoost = source.findTag(t => t instanceof TypeBoostTag && (t as TypeBoostTag).boostedType === type) as TypeBoostTag;
|
||||||
if (typeBoost) {
|
if (typeBoost) {
|
||||||
console.log("AAAAAAAAA");
|
|
||||||
power.value *= typeBoost.boostValue;
|
power.value *= typeBoost.boostValue;
|
||||||
if (typeBoost.oneUse) {
|
if (typeBoost.oneUse) {
|
||||||
console.log(typeBoost.tagType);
|
|
||||||
console.log(source);
|
|
||||||
source.removeTag(typeBoost.tagType);
|
source.removeTag(typeBoost.tagType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue