|
@@ -44,30 +44,30 @@ if ARGS[0] = 'disease_picker':
|
|
|
if cheatHealth = 0:
|
|
|
if tipvenerarand = 8:
|
|
|
!!herpes
|
|
|
- if rand(1, 100) > 90:
|
|
|
- if GerpesOnce = 0: GerpesOnce = 1
|
|
|
+ if rand(1, 100) > 90 and GerpesOnce = 0:
|
|
|
+ GerpesOnce = 1
|
|
|
Venera += 1
|
|
|
Gerpes += 1
|
|
|
GenHerpes = 1
|
|
|
end
|
|
|
elseif tipvenerarand = 7:
|
|
|
!!syphilis
|
|
|
- if rand(1, 100) > 95:
|
|
|
- if SifacOnce = 0: SifacOnce = 1
|
|
|
+ if rand(1, 100) > 95 and SifacOnce = 0:
|
|
|
+ SifacOnce = 1
|
|
|
Sifilis += 1
|
|
|
Venera += 1
|
|
|
end
|
|
|
elseif tipvenerarand >= 5 and tipvenerarand < 7:
|
|
|
!!gonorrhea/triper
|
|
|
- if rand(1, 100) > 95:
|
|
|
- if TriperOnce = 0: TriperOnce = 1
|
|
|
+ if rand(1, 100) > 95 and TriperOnce = 0:
|
|
|
+ TriperOnce = 1
|
|
|
Triper += 1
|
|
|
Venera += 1
|
|
|
end
|
|
|
elseif tipvenerarand < 5:
|
|
|
!!candidiasis/thrush
|
|
|
- if rand(1, 100) > 85:
|
|
|
- if KandidozOnce = 0: KandidozOnce = 1
|
|
|
+ if rand(1, 100) > 85 and KandidozOnce = 0:
|
|
|
+ KandidozOnce = 1
|
|
|
Kandidoz += 1
|
|
|
end
|
|
|
end
|
|
@@ -86,8 +86,8 @@ end
|
|
|
if ARGS[0] = 'disease_picker_oral':
|
|
|
if cheatHealth = 0:
|
|
|
if tipvenerarand >= 5 and tipvenerarand < 7:
|
|
|
- if rand(1, 100) > 95:
|
|
|
- if TriperOnce = 0: TriperOnce = 1
|
|
|
+ if rand(1, 100) > 95 and TriperOnce = 0:
|
|
|
+ TriperOnce = 1
|
|
|
TriperOral += 1
|
|
|
Venera += 1
|
|
|
if rand (0,100) < 15: TriperOralSigns = 1
|
|
@@ -95,22 +95,22 @@ if ARGS[0] = 'disease_picker_oral':
|
|
|
elseif tipvenerarand = 7:
|
|
|
if rand(0,1) = 1:
|
|
|
!!syphilis
|
|
|
- if rand(1, 100) > 95:
|
|
|
- if SifacOnce = 0: SifacOnce = 1
|
|
|
+ if rand(1, 100) > 95 and SifacOnce = 0:
|
|
|
+ SifacOnce = 1
|
|
|
Sifilis += 1
|
|
|
Venera += 1
|
|
|
end
|
|
|
end
|
|
|
elseif tipvenerarand < 5:
|
|
|
!!candidiasis/thrush
|
|
|
- if rand(1, 100) > 85:
|
|
|
- if KandidozOnce = 0: KandidozOnce = 1
|
|
|
+ if rand(1, 100) > 85 and KandidozOnce = 0:
|
|
|
+ KandidozOnce = 1
|
|
|
Kandidoz += 1
|
|
|
end
|
|
|
elseif tipvenerarand = 8:
|
|
|
!!herpes
|
|
|
- if rand(1, 100) > 90:
|
|
|
- if GerpesOnce = 0: GerpesOnce = 1
|
|
|
+ if rand(1, 100) > 90 and GerpesOnce = 0:
|
|
|
+ GerpesOnce = 1
|
|
|
Venera += 1
|
|
|
Gerpes += 1
|
|
|
OrHerpes = 1
|