@@ -101,91 +101,169 @@ export const command: PSCommand[] = [
101101 </ >
102102 ) ;
103103 }
104+
105+ if ( query in GOData . fastMoves ) {
106+ const move = GOData . fastMoves [ query ] ;
107+ return broadcastHTML (
108+ < ul className = "utilichart" style = { { marginBottom : - 10 } } >
109+ < li className = "result" >
110+ < span className = "col movenamecol" >
111+
112+ < a href = { `https://gamepress.gg/pokemongo/pokemon-move/${ move . name . replace ( / / g, '-' ) . toLowerCase ( ) } ` } target = "_blank" >
113+ { move . name }
114+ </ a >
115+ </ span >
116+ < span className = "col typecol" >
117+ < img src = { `https://play.pokemonshowdown.com/sprites/types/${ move . type } .png` } alt = { move . type } width = "32" height = "14" />
118+ < img src = { `https://play.pokemonshowdown.com/sprites/categories/Special.png` } alt = "Fast" width = "32" height = "14" />
119+ </ span >
120+ </ li >
121+
122+ < li className = "result" >
123+ < span className = "col widelabelcol" style = { { marginTop : 10 , color : '#999' } } >
124+ PvP
125+ </ span >
126+ < span className = "col widelabelcol" >
127+ < em > Energy</ em >
128+ < br />
129+ { move . pvp . energy }
130+ </ span >
131+ < span className = "col widelabelcol" >
132+ < em > Power</ em >
133+ < br />
134+ { move . pvp . power }
135+ </ span >
136+ < span className = "col widelabelcol" >
137+ < em > Turns</ em >
138+ < br />
139+ { move . pvp . turns }
140+ </ span >
141+ < span className = "col widelabelcol" >
142+ < em > EPS</ em >
143+ < br />
144+ { move . pvp . eps }
145+ </ span >
146+ < span className = "col widelabelcol" >
147+ < em > DPS</ em >
148+ < br />
149+ { move . pvp . dps }
150+ </ span >
151+ </ li >
152+
153+ < li className = "result" >
154+ < span className = "col widelabelcol" style = { { marginTop : 10 , color : '#999' } } >
155+ PvE
156+ </ span >
157+ < span className = "col widelabelcol" >
158+ < em > Energy</ em >
159+ < br />
160+ { move . pve . energy }
161+ </ span >
162+ < span className = "col widelabelcol" >
163+ < em > Power</ em >
164+ < br />
165+ { move . pve . power }
166+ </ span >
167+ < span className = "col widelabelcol" >
168+ < em > Time</ em >
169+ < br />
170+ { move . pve . duration } s
171+ </ span >
172+ < span className = "col widelabelcol" >
173+ < em > EPS</ em >
174+ < br />
175+ { move . pve . eps }
176+ </ span >
177+ < span className = "col widelabelcol" >
178+ < em > DPS</ em >
179+ < br />
180+ { move . pve . dps }
181+ </ span >
182+ < span className = "col widelabelcol" >
183+ < em > Delay</ em >
184+ < br />
185+ { move . pve . delay } s
186+ </ span >
187+ </ li >
188+ </ ul >
189+ ) ;
190+ }
191+
104192 if ( query in GOData . chargedMoves ) {
105193 const move = GOData . chargedMoves [ query ] ;
106194 return broadcastHTML (
107- < >
108- < ul className = "utilichart" style = { { marginBottom : - 10 } } >
109- < li className = "result" >
110- < span className = "col movenamecol" >
111-
112- < a
113- href = { `https://gamepress.gg/pokemongo/pokemon-move/${ move . name . replace ( / / g, '-' ) . toLowerCase ( ) } ` }
114- target = "_blank"
115- >
116- { move . name }
117- </ a >
118- </ span >
119- < span className = "col typecol" >
120- < img
121- src = { `https://play.pokemonshowdown.com/sprites/types/${ move . type } .png` }
122- alt = { move . type }
123- width = "32"
124- height = "14"
125- />
126- < img src = { `https://play.pokemonshowdown.com/sprites/categories/Physical.png` } alt = "Charged" width = "32" height = "14" />
127- </ span >
128- </ li >
129- < li className = "result" >
130- < span className = "col widelabelcol" style = { { marginTop : 10 , color : '#999' } } >
131- PvP
132- </ span >
133- < span className = "col widelabelcol" >
134- < em > Energy</ em >
135- < br />
136- { move . pvp . energy }
137- </ span >
138- < span className = "col widelabelcol" >
139- < em > Power</ em >
140- < br />
141- { move . pvp . power }
142- </ span >
143- < span className = "col labelcol" >
144- < em > DPE</ em >
145- < br />
146- { move . pvp . dpe }
147- </ span >
148- < span className = "col movedesccol" > { move . desc } </ span >
149- </ li >
150- < li className = "result" >
151- < span className = "col widelabelcol" style = { { marginTop : 10 , color : '#999' } } >
152- PvE
153- </ span >
154- < span className = "col widelabelcol" >
155- < em > Energy</ em >
156- < br />
157- { move . pve . energy }
158- </ span >
159- < span className = "col widelabelcol" >
160- < em > Power</ em >
161- < br />
162- { move . pve . power }
163- </ span >
164- < span className = "col labelcol" >
165- < em > Time</ em >
166- < br />
167- { move . pve . duration } s
168- </ span >
169- < span className = "col labelcol" >
170- < em > DPE</ em >
171- < br />
172- { move . pve . dpe }
173- </ span >
174- < span className = "col widelabelcol" >
175- < em >
176- D< sup > 2</ sup > /ES
177- </ em >
178- < br />
179- { move . pve . d2pes }
180- </ span >
181- < span className = "col widelabelcol" >
182- < em > Delay</ em >
183- < br />
184- { move . pve . delay } s
185- </ span >
186- </ li >
187- </ ul >
188- </ >
195+ < ul className = "utilichart" style = { { marginBottom : - 10 } } >
196+ < li className = "result" >
197+ < span className = "col movenamecol" >
198+
199+ < a href = { `https://gamepress.gg/pokemongo/pokemon-move/${ move . name . replace ( / / g, '-' ) . toLowerCase ( ) } ` } target = "_blank" >
200+ { move . name }
201+ </ a >
202+ </ span >
203+ < span className = "col typecol" >
204+ < img src = { `https://play.pokemonshowdown.com/sprites/types/${ move . type } .png` } alt = { move . type } width = "32" height = "14" />
205+ < img src = { `https://play.pokemonshowdown.com/sprites/categories/Physical.png` } alt = "Charged" width = "32" height = "14" />
206+ </ span >
207+ </ li >
208+ < li className = "result" >
209+ < span className = "col widelabelcol" style = { { marginTop : 10 , color : '#999' } } >
210+ PvP
211+ </ span >
212+ < span className = "col widelabelcol" >
213+ < em > Energy</ em >
214+ < br />
215+ { move . pvp . energy }
216+ </ span >
217+ < span className = "col widelabelcol" >
218+ < em > Power</ em >
219+ < br />
220+ { move . pvp . power }
221+ </ span >
222+ < span className = "col labelcol" >
223+ < em > DPE</ em >
224+ < br />
225+ { move . pvp . dpe }
226+ </ span >
227+ < span className = "col movedesccol" > { move . desc } </ span >
228+ </ li >
229+ < li className = "result" >
230+ < span className = "col widelabelcol" style = { { marginTop : 10 , color : '#999' } } >
231+ PvE
232+ </ span >
233+ < span className = "col widelabelcol" >
234+ < em > Energy</ em >
235+ < br />
236+ { move . pve . energy }
237+ </ span >
238+ < span className = "col widelabelcol" >
239+ < em > Power</ em >
240+ < br />
241+ { move . pve . power }
242+ </ span >
243+ < span className = "col labelcol" >
244+ < em > Time</ em >
245+ < br />
246+ { move . pve . duration } s
247+ </ span >
248+ < span className = "col labelcol" >
249+ < em > DPE</ em >
250+ < br />
251+ { move . pve . dpe }
252+ </ span >
253+ < span className = "col widelabelcol" >
254+ < em >
255+ D< sup > 2</ sup > /ES
256+ </ em >
257+ < br />
258+ { move . pve . d2pes }
259+ </ span >
260+ < span className = "col widelabelcol" >
261+ < em > Delay</ em >
262+ < br />
263+ { move . pve . delay } s
264+ </ span >
265+ </ li >
266+ </ ul >
189267 ) ;
190268 }
191269
0 commit comments