quests/128_PailakaSongOfIceAndFire/__init__.py (+24 -19) diffs
+ if player.getInstanceId() != 0:
158 + instance = InstanceManager.getInstance().getInstance(player.getInstanceId())
159 + if instance != None:
160 + instance.setDuration(300000)
- cond = st.getInt("cond")
169 - if npcId == ADLER:
170 - if cond > 0:
171 - tele = PyObject()
172 - tele.x = -52855
173 - tele.y = 188199
174 - tele.z = -4700
175 - instanceId = enterInstance(self, player, "SongOfIceAndFire.xml", tele)
176 - self.startQuestTimer("TimeOver", 3600000, None, player)
177 - player.setPailaka(True)
178 - htmltext = ""
179 - else:
180 - htmltext = "32497.htm"
181 - elif npcId == SINAI:
182 - if cond == 1:
183 - htmltext = "32500.htm"
184 - elif npcId == ADLER2:
185 - if cond == 9:
186 - htmltext = "32510.htm"
+ else :
173 + cond = st.getInt("cond")
174 + if npcId == ADLER:
175 + if cond > 0:
176 + tele = PyObject()
177 + tele.x = -52855
178 + tele.y = 188199
179 + tele.z = -4700
180 + instanceId = enterInstance(self, player, "SongOfIceAndFire.xml", tele)
181 + self.startQuestTimer("TimeOver", 3600000, None, player)
182 + player.setPailaka(True)
183 + htmltext = ""
184 + else:
185 + htmltext = "32497.htm"
186 + elif npcId == SINAI:
187 + if cond == 1:
188 + htmltext = "32500.htm"
189 + elif npcId == ADLER2:
190 + if cond == 9:
191 + htmltext = "32510.htm"