Skip to content

Commit eed88d4

Browse files
committed
new move
also i got a line counter extension
1 parent a954e54 commit eed88d4

File tree

3 files changed

+109
-1
lines changed

3 files changed

+109
-1
lines changed

index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,11 @@ class Move {
224224
console.log("sure")
225225
switch (this.codeName) {
226226
case "beast":
227-
console.log("perhaps")
228227
display("MRBEASTTTT", "You healed both yourself and your enemy.");
229228
break;
229+
case "saiyan":
230+
display("SUPER SAIYAN!!!", "*insert japanese here*")
231+
break;
230232
}
231233
}
232234

@@ -270,6 +272,9 @@ class Move {
270272
case "beast":
271273
display("MRBEASTTTT", "Both the enemy and you were healed.");
272274
break;
275+
case "saiyan":
276+
display("ENEMY GO SUPER SAIYAN!!!", "*insert japanese here*")
277+
break;
273278
}
274279
}
275280

@@ -290,6 +295,7 @@ let hyperbonk = new Move("HYPERBONK", 50, "attack", 0, -40, "hyperbonk", false);
290295
let triangulate = new Move("Triangulate 🤓", 15, "user", 0.05, 10, "triangulate", false);
291296
let munch = new Move("Gremlin Munch", 30, "attack", 0, 15, "munch", false)
292297
let beast = new Move("MRBEASTTTT", -20, "attack", 0, 40, "beast", true)
298+
let saiyan = new Move("Super Saiyan", 0, "user", 0.3, -30, "saiyan", true)
293299
// Kalob was a special child. He belittled people so they could not lick their wounds using a baseball bat to bonk them
294300
document.addEventListener("keydown", debug);
295301
setupAi()

out/linecounter.json

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"extension": "linecounter",
3+
"version": "0.2.7",
4+
"workspace": "c:\\Users\\og19\\OneDrive\\Desktop\\JavaScript\\brokemon\\brokemon",
5+
"linecount": [
6+
{
7+
"version": "0.2.7",
8+
"counttime": "2023-02-10 18:58:05",
9+
"filesum": 6,
10+
"codesum": 391,
11+
"commentsum": 3,
12+
"blanksum": 46,
13+
"statistics": {
14+
".css": {
15+
"code": 80,
16+
"comment": 0,
17+
"blank": 18
18+
},
19+
".js": {
20+
"code": 226,
21+
"comment": 2,
22+
"blank": 24
23+
},
24+
".md": {
25+
"code": 17,
26+
"comment": 0,
27+
"blank": 4
28+
},
29+
".html": {
30+
"code": 68,
31+
"comment": 1,
32+
"blank": 0
33+
}
34+
},
35+
"filelist": [
36+
{
37+
"blank": 0,
38+
"code": 68,
39+
"comment": 1,
40+
"filename": "index.html"
41+
},
42+
{
43+
"blank": 24,
44+
"code": 226,
45+
"comment": 2,
46+
"filename": "index.js"
47+
},
48+
{
49+
"filename": "pekachu.ico",
50+
"isbinaryfile": true,
51+
"blank": 0,
52+
"code": 0,
53+
"comment": 0
54+
},
55+
{
56+
"blank": 3,
57+
"code": 7,
58+
"comment": 0,
59+
"filename": "README.md"
60+
},
61+
{
62+
"blank": 1,
63+
"code": 10,
64+
"comment": 0,
65+
"filename": "ROADMAP.md"
66+
},
67+
{
68+
"blank": 18,
69+
"code": 80,
70+
"comment": 0,
71+
"filename": "styles.css"
72+
}
73+
]
74+
}
75+
]
76+
}

out/linecounter.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
===============================================================================
2+
EXTENSION NAME : linecounter
3+
EXTENSION VERSION : 0.2.7
4+
-------------------------------------------------------------------------------
5+
count time : 2023-02-10 18:58:05
6+
count workspace : c:\Users\og19\OneDrive\Desktop\JavaScript\brokemon\brokemon
7+
total files : 6
8+
total code lines : 391
9+
total comment lines : 3
10+
total blank lines : 46
11+
12+
statistics
13+
| extension| total code| total comment| total blank|percent|
14+
-------------------------------------------------------------------------
15+
| .css| 80| 0| 18| 20|
16+
| .js| 226| 2| 24| 58|
17+
| .md| 17| 0| 4| 4.3|
18+
| .html| 68| 1| 0| 17|
19+
-------------------------------------------------------------------------
20+
index.html, code is 68, comment is 1, blank is 0.
21+
index.js, code is 226, comment is 2, blank is 24.
22+
pekachu.ico, it is a binary file.
23+
README.md, code is 7, comment is 0, blank is 3.
24+
ROADMAP.md, code is 10, comment is 0, blank is 1.
25+
styles.css, code is 80, comment is 0, blank is 18.
26+
===============================================================================

0 commit comments

Comments
 (0)