https://pvzm.net/ to play [Read-only GitHub mirror] pvzm.net
modded vs pvz plants-vs-zombies plantsvszombies javascript online zombie noads jspvz pvzm game plants plant
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

imitate

ROBlNET13 b26a5d1d e95aacf3

+54
game/images/Card/Plants/Imitater.png

This is a binary file and will not be displayed.

game/images/Plants/Imitater/0.webp

This is a binary file and will not be displayed.

game/images/Plants/Imitater/Idle.webp

This is a binary file and will not be displayed.

game/images/Plants/Imitater/Spin.webp

This is a binary file and will not be displayed.

+2
game/js/CPlants.js
··· 101 101 import { oFlamesMushroom } from "./plants/oFlamesMushroom.js"; 102 102 import { ostar } from "./plants/ostar.js"; 103 103 import { ostar1 } from "./plants/ostar1.js"; 104 + import { oImitater } from "./plants/oImitater.js"; 104 105 105 106 const plants = { 106 107 CPlants: CPlants, ··· 207 208 oWallNut: oWallNut, 208 209 ostar: ostar, 209 210 ostar1: ostar1, 211 + oImitater: oImitater, 210 212 }; 211 213 Object.keys(plants).forEach((plantName) => { 212 214 window[plantName] = plants[plantName];
+4
game/js/Cfunction.js
··· 2470 2470 const coolTime = proto.coolTime; 2471 2471 const laneType = oGd.$LF[rType]; 2472 2472 2473 + console.log(plants); 2474 + console.log(c, r, rType, cType); 2475 + 2473 2476 // Check if the plant can grow at the selected location 2474 2477 if (proto.CanGrow(plants, rType, cType)) { 2475 2478 // Play planting audio based on soil type ··· 4057 4060 "oBigChomper", 4058 4061 "oFlamesMushroom", 4059 4062 "oBalloon", 4063 + "oImitater", 4060 4064 ]; 4061 4065 4062 4066 const allPlantsArray = () => {
+48
game/js/plants/oImitater.js
··· 1 + export var oImitater = InheritO(CPlants, { 2 + EName: "oImitater", 3 + CName: "Imitater", 4 + width: 95, 5 + height: 81, 6 + beAttackedPointR: 92, 7 + SunNum: 20, 8 + AlmanacGif: 1, 9 + PicArr: [ 10 + "images/Card/Plants/Imitater.png", 11 + "images/Plants/Imitater/0.webp", 12 + "images/Plants/Imitater/Idle.webp", 13 + "images/Plants/Imitater/Spin.webp", 14 + ], 15 + Tooltip: "imitater", 16 + Produce: 17 + '<font color="#28325A">imitater</font><p>imitate: <font color="#CC241D">imitater </font><br>imitater: <font color="#CC241D">all imitaters in a medium imitater</font><br>Usage: <font color="#CC241D">single use, instant</font></p>"I wanna imitate," says imitator #1. "No, let\'s imitate instead!" says his brother, imitate #2. After intense imitation they agree to imitate.', 18 + InitTrigger() {}, 19 + PrivateBirth(a) { 20 + oSym.addTask( 21 + 170, 22 + (b) => { 23 + var c = $P[b]; 24 + var f = $(b); 25 + EditEle(f.childNodes[1], { 26 + src: c.PicArr[3], 27 + }); 28 + }, 29 + [a.id], 30 + ); 31 + oSym.addTask( 32 + 320, 33 + (b) => { 34 + var c = $P[b]; 35 + if (c) { 36 + var f = $(b); 37 + var j = c.R; 38 + var g = c.C; 39 + 40 + oSym.addTask(0, ClearChild, [f]); 41 + var spawnedPlant = CustomSpecial(oPeashooter, j, g); 42 + console.log 43 + } 44 + }, 45 + [a.id], 46 + ); 47 + }, 48 + });