Commits

Johan Euphrosine  committed a1fb00f

elvis should target player

  • Participants
  • Parent commits 28a2cd1

Comments (0)

Files changed (1)

File websocket/scripts/zombies.js

                                                        data, data.blacklist);
                                   c.hitplayer.start([attractor.oc,1], wave.zombie.hit_points, wave.zombie.hit_coolDown*1000, wave.zombie.hit_range);
                                 } else if (c.oc == 4) { // elvis
-                                  c.followplayer.start([attractor.oc], wave.zombie.follow_range, 
+                                  c.followplayer.start([1], wave.zombie.follow_range, 
                                                        [wave.zombie.attractor_speed,wave.zombie.player_speed],
                                                        data, data.blacklist);
-                                  c.hitplayer.start([attractor.oc], wave.zombie.hit_points, wave.zombie.hit_coolDown*1000, wave.zombie.hit_range);
+                                  c.hitplayer.start([1], wave.zombie.hit_points, wave.zombie.hit_coolDown*1000, wave.zombie.hit_range);
                                 }
                                 if (wave.zombie.healing_amount > 0) {
                                   c.selfhealing.start(wave.zombie.healing_amount, wave.zombie.healing_cooldown*1000);