diff --git a/Templates/dorf2.tpl b/Templates/dorf2.tpl index c9c17ed9..40caebe4 100644 --- a/Templates/dorf2.tpl +++ b/Templates/dorf2.tpl @@ -77,8 +77,20 @@ for ($i=1;$i<=20;$i++) { } } echo "\"$text\""; + //set event last quest firework..hooooray!! + if ($_SESSION['qst']==38) { + if ($i<8) { + $dte=array("tur","purp","yell","oran","green","red","blue"); + $im=$dte[$i]; + echo "\"$text\""; + } + } } } + if ($_SESSION['qst']==38) { + $database->updateUserField($_SESSION['username'],'quest','40',0); + $_SESSION['qst']=40; + } if($village->resarray['f39'] == 0) { if($building->rallying()) { echo "\"Rallyresarray['f39']."\" />";