@ -1,120 +0,0 @@ |
|||
using System; |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class CardOriginalData : Singleton<CardOriginalData> |
|||
{ |
|||
private int cardId; |
|||
|
|||
private int cost; |
|||
|
|||
private string chineseName; |
|||
|
|||
private int rarity; |
|||
|
|||
private string[] function; |
|||
|
|||
private string[] functionVal; |
|||
|
|||
private int castingRange; |
|||
|
|||
private int effectRange; |
|||
|
|||
private int isDisposable; |
|||
|
|||
private string[] advantageFunction; |
|||
|
|||
private string[] advantageFunctionVal; |
|||
|
|||
private int carType; |
|||
|
|||
private string description; |
|||
|
|||
private string imgPath; |
|||
|
|||
public int CardId |
|||
{ |
|||
get { return cardId; } |
|||
set { cardId = value; } |
|||
} |
|||
|
|||
|
|||
public int Cost |
|||
{ |
|||
get { return cost; } |
|||
set { cost = value; } |
|||
} |
|||
|
|||
public string ChineseName |
|||
{ |
|||
get { return chineseName; } |
|||
set { chineseName = value; } |
|||
} |
|||
|
|||
public int Rarity |
|||
{ |
|||
get { return rarity; } |
|||
set { rarity = value; } |
|||
} |
|||
|
|||
public string[] Function |
|||
{ |
|||
get { return function; } |
|||
set { function = value; } |
|||
} |
|||
|
|||
public string[] FunctionVal |
|||
{ |
|||
get { return functionVal; } |
|||
set { functionVal = value; } |
|||
} |
|||
|
|||
public int CastingRange |
|||
{ |
|||
get { return castingRange; } |
|||
set { castingRange = value; } |
|||
} |
|||
|
|||
public int EffectRange |
|||
{ |
|||
get { return effectRange; } |
|||
set { effectRange = value; } |
|||
} |
|||
|
|||
public bool IsDisposable |
|||
{ |
|||
get { return isDisposable == 1; } |
|||
set { isDisposable = value ? 1 : 0; } |
|||
} |
|||
|
|||
public string[] AdvantageFunction |
|||
{ |
|||
get { return advantageFunction; } |
|||
set { advantageFunction = value; } |
|||
} |
|||
|
|||
public string[] AdvantageFunctionVal |
|||
{ |
|||
get { return advantageFunctionVal; } |
|||
set { advantageFunctionVal = value; } |
|||
} |
|||
|
|||
public int CarType |
|||
{ |
|||
get { return carType; } |
|||
set { carType = value; } |
|||
} |
|||
|
|||
public string Description |
|||
{ |
|||
get { return description; } |
|||
set { description = value; } |
|||
} |
|||
|
|||
public string ImgPath |
|||
{ |
|||
get { return imgPath; } |
|||
set { imgPath = value; } |
|||
} |
|||
} |
|||
@ -0,0 +1,21 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class AbnormalCondition : Singleton<AbnormalCondition> |
|||
{ |
|||
//中毒
|
|||
public const string posion = "4"; |
|||
//虚弱
|
|||
public const string weak = "5"; |
|||
//昏迷
|
|||
public const string coma = "6"; |
|||
//缴械
|
|||
public const string disarm = "7"; |
|||
//睡眠
|
|||
public const string sleep = "8"; |
|||
//流血
|
|||
public const string bleed = "9"; |
|||
//荆棘
|
|||
public const string thorn = "10"; |
|||
} |
|||
@ -1,5 +1,5 @@ |
|||
fileFormatVersion: 2 |
|||
guid: fef905dcdd2ff584cb906322cf0aedd4 |
|||
guid: 208bbcf356255bd4dbb798c1370cd80b |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 958 B |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |