1
0
Răsfoiți Sursa

[fixed] limited the sonia event to once per day

julzor 4 ani în urmă
părinte
comite
0651bd7321
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      locations/gdkin.qsrc

+ 2 - 2
locations/gdkin.qsrc

@@ -42,10 +42,10 @@ if $ARGS[0] = '':
 
 		if dimaRevenge = 7 and dimaRevChoice = 4 and dimadisco = 0: gt 'dimaRevenge', 5, 'disco'
 
-		if rand(1,3) = 2 and soniaPS < 1:
+		if rand(1,3) = 2 and soniaPS < 1 and soniadisco_day ! daystart:
 			if npc_grupTipe['A25'] ! 5 and StoryLine = 1 and BeInSchool > 0 and soniaslut >= 5 and hour < 23:
 				'You notice Sonia from your class. She is talking to Victor about something.'
-				act 'View Sonya': gt 'soniadisco', 'start'
+				act 'View Sonya': soniadisco_day = daystart & gt 'soniadisco', 'start'
 			end
 		end