mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-09-13 13:08:32 +02:00
Fix Cute Charm affecting same gender or genderless
This commit is contained in:
parent
53b0069ab1
commit
cacec77a67
@ -2593,7 +2593,9 @@
|
||||
Case "cute charm"
|
||||
If moveUsed.MakesContact = True AndAlso p.HasVolatileStatus(Pokemon.VolatileStatus.Infatuation) = False Then
|
||||
If Core.Random.Next(0, 100) < 30 Then
|
||||
InflictInfatuate(own, Not own, BattleScreen, op.GetDisplayName() & "'s Cute Charm affects " & p.GetDisplayName() & "!", "cutecharm")
|
||||
If p.Gender <> Pokemon.Genders.Genderless AndAlso op.Gender <> Pokemon.Genders.Genderless AndAlso op.Gender <> p.Gender Then
|
||||
InflictInfatuate(own, Not own, BattleScreen, op.GetDisplayName() & "'s Cute Charm affects " & p.GetDisplayName() & "!", "cutecharm")
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
Case "aftermath"
|
||||
|
Loading…
x
Reference in New Issue
Block a user