Skip to content
Extraits de code Groupes Projets
Valider eb4e73b6 rédigé par ElTata's avatar ElTata :ok_hand:
Parcourir les fichiers

nerf mystic fight from -30% to -40% ttl gain from physical

parent ffadb3d9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -144,7 +144,7 @@ sub mystic_result { ...@@ -144,7 +144,7 @@ sub mystic_result {
if ($win) { if ($win) {
#my $gain = int($rps->{$p2}{level}/8); #my $gain = int($rps->{$p2}{level}/8);
#$gain = 5 if $gain < 5; #$gain = 5 if $gain < 5;
my $gain = perc_victory($rps->{$p2}{level} - $rps->{$p1}{level})*0.70; my $gain = perc_victory($rps->{$p2}{level} - $rps->{$p1}{level})*0.60;
$gain *= 1.2 if ($wanted); $gain *= 1.2 if ($wanted);
$gain = int(($gain/100)*$rps->{$p1}{next}); $gain = int(($gain/100)*$rps->{$p1}{next});
$gain = -$rps->{$p1}{class}->real_gain(-$gain); $gain = -$rps->{$p1}{class}->real_gain(-$gain);
...@@ -170,7 +170,7 @@ sub mystic_result { ...@@ -170,7 +170,7 @@ sub mystic_result {
else { else {
#my $gain = $rps->{$p2}{level}/10; #my $gain = $rps->{$p2}{level}/10;
#$gain = 5 if $gain < 5; #$gain = 5 if $gain < 5;
my $gain = perc_defeat($rps->{$p2}{level} - $rps->{$p1}{level})*0.70; my $gain = perc_defeat($rps->{$p2}{level} - $rps->{$p1}{level})*0.60;
$gain *= 1.2 if ($wanted); $gain *= 1.2 if ($wanted);
$gain = int(($gain/100)*$rps->{$p1}{next}); $gain = int(($gain/100)*$rps->{$p1}{next});
$gain = $rps->{$p1}{class}->real_gain($gain); $gain = $rps->{$p1}{class}->real_gain($gain);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter