| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Sirenix.OdinInspector;
- public class DemonicGiant : Demonic
- {
- [LabelText("ÉúÃüתÉ˺¦±¶ÂÊ")] public float scale = 0.2f;
- //public BuffAura ba;
- //public override void Attack_summon()
- //{
- // base.Attack_summon();
- // if (GameManager.instance.demonicAttributes[id].trigger1)
- // {
- // GameObject obj = PoolManager.Instantiate(Resources.Load<GameObject>("Prefab/Meteorite"));
- // int faceDir = bodyTrans.localScale.x >= 0 ? 1 : -1;
- // obj.GetComponent<Meteorite>().Init(transform.position + Vector3.left * faceDir * 3, this);
- // }
- //}
- public override void AfterInit()
- {
- base.AfterInit();
- ownDamageScale += (int)(/*GameManager.instance.*/totalHp * scale);
- //if (GameManager.instance.demonicAttributes[id].trigger0)
- //{
- // ownDamageScale += attributeStatus.resistances.armor * 5;
- //}
- //for (int i = 0; i < attackController.attackMethod_summon.Length; i++)
- //{
- // AttackInfo attackInfo = attackController.attackMethod_summon[i].attackInfo;
- // attackInfo.blowUp.landingDamageRate += attackInfo.blowUp.landingDamageRate * GameManager.instance.demonicAttributes[id].blowUpDamage/100;
- // attackInfo.blowUp.time += attackInfo.blowUp.time * GameManager.instance.demonicAttributes[id].blowUpStunTime / 100;
- //}
- }
- //public override void Init()
- //{
- // base.Init();
- // if (GameManager.instance.demonicAttributes[id].trigger2)
- // {
- // ba.buff.value = attributeStatus.resistances.armor * (10 + GameManager.instance.myTreasuresTag[3]);
- // ba.gameObject.SetActive(true);
- // }
- // else ba.gameObject.SetActive(false);
- //}
- }
|