13 changed files with 246 additions and 5 deletions
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_BonePile : 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) |
||||
|
{ |
||||
|
|
||||
|
value++; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
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_BonePile(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: b9fa2b5938aeaea479a4d443adbe2443 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_corrode : 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_corrode(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: e4f116bbf222d6d469b6d31ee8a97dd8 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_flashPoint : 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_flashPoint(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 06a91f525c9c50f41818c884ebf98274 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
Loading…
Reference in new issue