Implement IronskinDraught
This commit is contained in:
parent
b5c900aa24
commit
626f465ca0
9 changed files with 79 additions and 2 deletions
10
Assets/Battle/Targeting/AnyHeroTargetPolicy.cs
Normal file
10
Assets/Battle/Targeting/AnyHeroTargetPolicy.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class AnyHeroTargetPolicy: TargetingPolicy
|
||||
{
|
||||
public override bool CanTarget(BattleParticipant participant) {
|
||||
return participant.Team == TeamChoice.Heroes;
|
||||
}
|
||||
}
|
||||
11
Assets/Battle/Targeting/AnyHeroTargetPolicy.cs.meta
Normal file
11
Assets/Battle/Targeting/AnyHeroTargetPolicy.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3183378edadfc1642861386c91083b32
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Battle/Targeting/AnyMonsterTargetPolicy.cs
Normal file
10
Assets/Battle/Targeting/AnyMonsterTargetPolicy.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class AnyMonsterTargetPolicy: TargetingPolicy
|
||||
{
|
||||
public override bool CanTarget(BattleParticipant participant) {
|
||||
return participant.Team == TeamChoice.Monsters;
|
||||
}
|
||||
}
|
||||
11
Assets/Battle/Targeting/AnyMonsterTargetPolicy.cs.meta
Normal file
11
Assets/Battle/Targeting/AnyMonsterTargetPolicy.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 98c44fa59c2b9084694443a866df9a94
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue