153 changed files with 2763 additions and 264 deletions
@ -0,0 +1,27 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_Bleed3TurnCost : Buff |
|||
{ |
|||
|
|||
public override void Settle() |
|||
{ |
|||
count = 0; |
|||
} |
|||
|
|||
|
|||
|
|||
public override void SettleEnemy(EnemyNode enemyNode) |
|||
{ |
|||
count = 0; |
|||
} |
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_Bleed3TurnCost(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 87021152033dd3d4c905bf3e6634b532 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,28 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_Bleed4TurnCost : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
count = 0; |
|||
} |
|||
|
|||
|
|||
|
|||
public override void SettleEnemy(EnemyNode enemyNode) |
|||
{ |
|||
count = 0; |
|||
} |
|||
|
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_Bleed4TurnCost(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: cfbad4c429526724dbf97c5aa362ac9d |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,30 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_BleedDamage : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
public override void SettleEnemy(EnemyNode enemyNode) |
|||
{ |
|||
|
|||
|
|||
|
|||
} |
|||
|
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_BleedDamage(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 91dfd91b0c739a94d98f01c6d1c20797 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,30 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_BleedHeal : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
public override void SettleEnemy(EnemyNode enemyNode) |
|||
{ |
|||
|
|||
|
|||
|
|||
} |
|||
|
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_BleedHeal(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 74356d9ae2e6b8d43ac7376113dd0ce8 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,26 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_CantShield : Buff |
|||
{ |
|||
|
|||
|
|||
|
|||
public override void SettleEnemy(EnemyNode enemyNode) |
|||
{ |
|||
|
|||
|
|||
|
|||
} |
|||
|
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_CantShield(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 8e55cb544c976bf469ae9f5b5364db7a |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,21 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_CantUserEffectCaed : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
value = 0; |
|||
|
|||
} |
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_CantUserEffectCaed(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 9276906ae80f6ed479f35ff7fc93b1d4 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,30 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_DeathMark : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
base.Settle(); |
|||
} |
|||
|
|||
|
|||
|
|||
public override void SettleEnemy(EnemyNode enemyNode) |
|||
{ |
|||
|
|||
base.Settle(); |
|||
|
|||
} |
|||
|
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_DeathMark(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "downSpeed"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 0f08d5c214bfb424fad4804da01ad7c5 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,30 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_Disable : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
base.Settle(); |
|||
} |
|||
|
|||
|
|||
|
|||
public override void SettleEnemy(EnemyNode enemyNode) |
|||
{ |
|||
|
|||
base.Settle(); |
|||
|
|||
} |
|||
|
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_Disable(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "downSpeed"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 230c71876e5a24d4a80cd6426f787df5 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,21 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_DyeingCardCostMinusOne : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
value = 0; |
|||
|
|||
} |
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_DyeingCardCostMinusOne(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 05c4f66402c303a449ef37e1bad6ba3f |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,25 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_EmberDownOneTurn : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
value=0; |
|||
} |
|||
|
|||
public override void SettleEnemy(EnemyNode enemyNode) |
|||
{ |
|||
value = 0; |
|||
} |
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_EmberDownOneTurn(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_nuhuo1_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 7f07683220b4e6a419116fcf83af040f |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,21 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_NextCardCostHp : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
value = 0; |
|||
|
|||
} |
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_NextCardCostHp(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 1155e91d9a4d7f644943511072a0f9eb |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,21 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_NextCardCostMinusOne : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
value = 0; |
|||
|
|||
} |
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_NextCardCostMinusOne(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: bc6c039d1d5ebaf4d81fa8c9a0159602 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,21 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_NextDyeingCardCostZero : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
//value = 0;
|
|||
|
|||
} |
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_NextDyeingCardCostZero(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 09f8fcaca70d78544ade8ccb503a8c61 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,21 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_NextDyeingCardRangeAddTwo : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
value = 0; |
|||
|
|||
} |
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_NextDyeingCardRangeAddTwo(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_liuxue_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: e9ce019f8ded4f548bcf23ebf202bc20 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,22 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.UI; |
|||
|
|||
public class Buff_NextEffectCardDoubleSettle : Buff |
|||
{ |
|||
public override void Settle() |
|||
{ |
|||
value = 0; |
|||
|
|||
} |
|||
|
|||
|
|||
public override Buff NewBuff(int value) |
|||
{ |
|||
Buff buff = new Buff_NextEffectCardDoubleSettle(); |
|||
buff.value = value; |
|||
buff.icon = BuffDataManager.Instance.LoadImage(iconPath + "Sslx_Ui_Buff_maozixifa_v01"); |
|||
return buff; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: bcc5d5190b465b9418756386128298a3 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,8 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_ActivatedCarbon : LegacyNode |
|||
{ |
|||
|
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 0cc37f34a087db04490ed46f6fc2f981 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,29 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_AegisOfTheImmortal : LegacyNode |
|||
{ |
|||
public override void Use() |
|||
{ |
|||
if (isUsed == false) |
|||
{ |
|||
int recoverHpVal = (int)GameManager.Instance.playerState.maxHP / 10 * 3; |
|||
GameManager.Instance.playerState.currentHP=recoverHpVal; |
|||
isUsed = true; |
|||
} |
|||
|
|||
} |
|||
|
|||
public override bool IsUseful() |
|||
{ |
|||
if (isUsed == false) |
|||
{ |
|||
return true; |
|||
} |
|||
else |
|||
{ |
|||
return false; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 7086a35f318e6bf448553227273a6943 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,11 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_BigBackpack : LegacyNode |
|||
{ |
|||
public override void Use() |
|||
{ |
|||
Usermanager.Instance.Shield += Usermanager.Instance.ShieldCalculation(3); |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 450ef84430f74dd4bbac3bc20c7c1e5a |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,30 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_Bipod : LegacyNode |
|||
{ |
|||
public bool lastRoundTrigger=true; |
|||
public bool thisRoundTrigger = false; |
|||
|
|||
public override bool IsUseful() |
|||
{ |
|||
bool result = false; |
|||
if (lastRoundTrigger) |
|||
{ |
|||
result = true; |
|||
} |
|||
return result; |
|||
} |
|||
|
|||
public override void EffectInPlayerTurnEnd() |
|||
{ |
|||
lastRoundTrigger = thisRoundTrigger; |
|||
thisRoundTrigger=false; |
|||
} |
|||
|
|||
public override void ResetCount() |
|||
{ |
|||
thisRoundTrigger=true; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: e985a48b718f0d047848b5ce0a87c743 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,18 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_BloodBorne : LegacyNode |
|||
{ |
|||
// Start is called before the first frame update
|
|||
void Start() |
|||
{ |
|||
|
|||
} |
|||
|
|||
// Update is called once per frame
|
|||
void Update() |
|||
{ |
|||
|
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: f9dfde8ffd59d6645982ec82f20b043f |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,8 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_BloodTax : LegacyNode |
|||
{ |
|||
|
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 8d4cac3a6694a174ca2b722f6ec2a93f |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,27 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_ChaosTrigger : LegacyNode |
|||
{ |
|||
public bool yellowTrigger=false; |
|||
public bool redTrigger = false; |
|||
public bool blueTrigger = false; |
|||
|
|||
public override bool IsUseful() |
|||
{ |
|||
bool result=false; |
|||
if (yellowTrigger&& redTrigger&& blueTrigger) |
|||
{ |
|||
result=true; |
|||
} |
|||
return result; |
|||
} |
|||
|
|||
public override void EffectInPlayerTurnEnd() |
|||
{ |
|||
yellowTrigger = false; |
|||
blueTrigger = false; |
|||
redTrigger = false; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: c82f0b01863a17f42b7f2129b2ed44eb |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,12 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_Cheese : LegacyNode |
|||
{ |
|||
public override void OnGet() |
|||
{ |
|||
int recoverHpVal = 30; |
|||
Usermanager.Instance.recoverHp(recoverHpVal); |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 44f70195fc587904baaae09745f23ddd |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,11 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_Filter : LegacyNode |
|||
{ |
|||
|
|||
|
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 5b63c67010446d24ab8cbcfc5f29f98d |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,17 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_FreeBullet : LegacyNode |
|||
{ |
|||
|
|||
public override bool IsUseful() |
|||
{ |
|||
bool result=false; |
|||
if (count == 4) |
|||
{ |
|||
result=true; |
|||
} |
|||
return result; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 1d501d5fe5fd5fc45ab49b81e264b455 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,24 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_LightningBoots : LegacyNode |
|||
{ |
|||
|
|||
public override bool IsUseful() |
|||
{ |
|||
bool result = false; |
|||
if (count == 3) |
|||
{ |
|||
result = true; |
|||
} |
|||
return result; |
|||
|
|||
} |
|||
|
|||
public override void Use() |
|||
{ |
|||
GameManager.Instance.playerState.currentStepRange += 2; |
|||
ResetCount(); |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: cd26e3e64f3217644b98784901afe3fc |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,8 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_MeatSaw : LegacyNode |
|||
{ |
|||
|
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: f650d7c780239c34c823efc783c917d0 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,15 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_NurturingBloom: LegacyNode |
|||
{ |
|||
public override void EffectInPlayerTurnEnd() |
|||
{ |
|||
if (GameManager.Instance.playerOn.whoColour == Name.NodeColor.Black) |
|||
{ |
|||
Usermanager.Instance.SufferPlayerAbnormalCondition(AbnormalCondition.angerUpperDamage, 2); |
|||
Usermanager.Instance.lostHp(5); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 7b8e9769b94e28442a9bc5680300c9f6 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,21 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_PainContract : LegacyNode |
|||
{ |
|||
public override void EffectInPlayerTurnBegin() |
|||
{ |
|||
Usermanager.Instance.lostHp(2); |
|||
List<int> colorList = MathTool.GenerateRandomPlayerColorList(6); |
|||
MapUnity playerNode = GameManager.Instance.playerOn; |
|||
HashSet<MapUnity> targetSet=new HashSet<MapUnity> { playerNode }; |
|||
getNodeTools.getCircleNodeExceptSelf(targetSet,1); |
|||
List< MapUnity> targetList = new List<MapUnity>(targetSet); |
|||
for (int i=0; i<targetList.Count; i++) |
|||
{ |
|||
MapUnity target = targetList[i]; |
|||
target.switchColor(colorList[i]); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 7f7d783f7fdc98b4d8209e87d52456f3 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,15 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_Parasol : LegacyNode |
|||
{ |
|||
public override void EffectInPlayerTurnEnd() |
|||
{ |
|||
if (MapUnityManager.Instance.playerNodeCount > 9) |
|||
{ |
|||
Usermanager.Instance.Shield += Usermanager.Instance.ShieldCalculation(7); |
|||
} |
|||
|
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: d5b288d7194006c4c93a0199ea52068e |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,8 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_PerpetualMotionPump : LegacyNode |
|||
{ |
|||
|
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: e3b8b5ca83486ff4b95bd3f19cf0d24e |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,11 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_PlatedSteelcaps : LegacyNode |
|||
{ |
|||
public override void Use() |
|||
{ |
|||
Usermanager.Instance.Shield += Usermanager.Instance.ShieldCalculation(3); |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 15720e4841ccf084aa2be96f1885ab52 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,8 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_PortableReactor : LegacyNode |
|||
{ |
|||
|
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 47d9a0b02a09e7f47b7394b1efa3c3e5 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,17 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_Prism : LegacyNode |
|||
{ |
|||
public override bool IsUseful() |
|||
{ |
|||
bool result=false; |
|||
if(MapUnityManager.Instance.yellowNodeCount!=0&& MapUnityManager.Instance.redNodeCount != 0&& MapUnityManager.Instance.blueNodeCount != 0) |
|||
{ |
|||
result=true; |
|||
} |
|||
|
|||
return result; |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 6b6bbcbf82f0ba14cb488396d88d77df |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,8 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_PurityBadge : LegacyNode |
|||
{ |
|||
|
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
fileFormatVersion: 2 |
|||
guid: b7086655735c4ab4b91bc077d65e2118 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,11 @@ |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class LegacyNode_Sneakers : LegacyNode |
|||
{ |
|||
public override void EffectInPlayerTurnBegin() |
|||
{ |
|||
isUsed = false; |
|||
} |
|||
} |
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue