19 changed files with 416 additions and 29 deletions
@ -0,0 +1,27 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_DoubleSettle : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_DoubleSettle(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 1b75ac1b62b3d904794b446ae309170e |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,40 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_FireShield : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
base.Settle(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "»ð"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "»ð"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_FireShield(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: ca5b926393e5e6a45bea1641a0358efc |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,38 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
public class Buff_NextTurnExtraOneCost : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
|
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "ÄÜ"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "ÄÜ"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_NextTurnExtraOneCost(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 775d43284e615c7448977279136eaf24 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
|
@ -0,0 +1,7 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: f18966df8ccf29040b3ba5af47b786c6 |
||||
|
TextScriptImporter: |
||||
|
externalObjects: {} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
Loading…
Reference in new issue