This file contains hidden or 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
Show hidden characters
{ | |
"extends": "tslint:latest", | |
"rules": { | |
"array-type": [ | |
true, | |
"array" | |
], | |
"boolean-trivia": true, | |
"class-name": true, | |
"comment-format": [ |
This file contains hidden or 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
// | |
// Nature.swift | |
// DamageZ-VIPER | |
// | |
// Created by Kensuke Hoshikawa on 2017/10/11. | |
// Copyright © 2017年 star__hoshi. All rights reserved. | |
// | |
import Foundation |
This file contains hidden or 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
フシギダネ | ||
---|---|---|
フシギソウ | ||
ヒトカゲ | ||
リザード | ||
ゼニガメ | ||
カメール | ||
キャタピー | ||
トランセル | ||
ビードル | ||
コクーン |
This file contains hidden or 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
func calcStat(statType: StatType, level: Int, iv: Int, effort: Int, nature: NatureEffectType = .notChange) -> Int { | |
let baseStat: Int | |
switch statType { | |
case .h(let h): | |
return calcHPStat(h: h, level: level, iv: iv, effort: effort) | |
case .a(let a): | |
baseStat = a | |
case .b(let b): | |
baseStat = b | |
case .c(let c): |
This file contains hidden or 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 * as admin from 'firebase-admin' | |
import * as fft from 'firebase-functions-test' | |
const ft = fft() | |
import * as sinon from 'sinon' | |
import { makeUppercase, addMessage } from './function' | |
describe('order', () => { | |
describe('makeUpperCase', () => { | |
it('should upper case input and write it to /uppercase', async () => { | |
const fakeSnaphost = ft.firestore.makeDocumentSnapshot({ |
This file contains hidden or 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
id | number | name | name_ja | type1 | type2 | hp | attack | defense | max_cp | form | |
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Bulbasaur | フシギダネ | grass | poison | 90 | 118 | 118 | 981 | normal | |
1 | 2 | Ivysaur | フシギソウ | grass | poison | 120 | 151 | 151 | 1552 | normal | |
2 | 3 | Venusaur | フシギバナ | grass | poison | 160 | 198 | 198 | 2568 | normal | |
3 | 4 | Charmander | ヒトカゲ | fire | 78 | 116 | 96 | 831 | normal | ||
4 | 5 | Charmeleon | リザード | fire | 116 | 158 | 129 | 1484 | normal | ||
5 | 6 | Charizard | リザードン | fire | flying | 156 | 223 | 176 | 2686 | normal | |
6 | 7 | Squirtle | ゼニガメ | water | 88 | 94 | 122 | 808 | normal | ||
7 | 8 | Wartortle | カメール | water | 118 | 126 | 155 | 1324 | normal | ||
8 | 9 | Blastoise | カメックス | water | 158 | 171 | 210 | 2291 | normal |
OlderNewer