Prevent pull plants from spawning enemies in the Forest Sprite Cave. gameplay-changes
authorachurch
Fri, 15 Apr 2011 00:38:27 +0900
branchgameplay-changes
changeset 667 cb7fb526bc6a
parent 650 ad86e75b35b9
child 668 45b329ff7d2b
Prevent pull plants from spawning enemies in the Forest Sprite Cave. This patch applies the logic change in r419, which prevented pull plants from spawning enemies in Naija's home, to the Forest Sprite Cave as well.
game_scripts/scripts/entities/pullplantnormal.lua
--- a/game_scripts/scripts/entities/pullplantnormal.lua	Sun Jan 30 01:24:31 2011 +0900
+++ b/game_scripts/scripts/entities/pullplantnormal.lua	Fri Apr 15 00:38:27 2011 +0900
@@ -70,7 +70,8 @@
 					elseif isMapName("veil03") then
 						commonInit(me, "horseshoe", "")
 						
-					elseif isMapName("vedhacave") then
+					elseif isMapName("vedhacave")
+						or isMapName("forestspritecave") then
 						commonInit(me, "", "PlantLeaf")
 						
 					else