JBP QL JL
This commit is contained in:
@@ -30,11 +30,17 @@ public class MonsterControl_BossBase : MonsterContral
|
||||
base.Awake();
|
||||
isRotate = false;
|
||||
ZhuCam = GameManager.Instance.ZhuCam;
|
||||
|
||||
action_effect_DieAward = (obj) =>
|
||||
{
|
||||
tMP_CurrBossScore = obj
|
||||
.transform.GetChild(0).GetComponent<TextMeshProUGUI>();
|
||||
};
|
||||
|
||||
}
|
||||
public override void OnEnable()
|
||||
{
|
||||
base.OnEnable();
|
||||
layeredPool = null;
|
||||
FishResourcesData fishResourcesData;
|
||||
|
||||
fishResourcesData = FishResourcesData.fishResourcesDatasDic[fishTypeID];
|
||||
@@ -45,6 +51,28 @@ public class MonsterControl_BossBase : MonsterContral
|
||||
AudioManager.Instance.PlayerFX(v[index]);
|
||||
}
|
||||
|
||||
}
|
||||
public void BigPrizeNotFish(int num)
|
||||
{
|
||||
if (layeredPool == null)
|
||||
{
|
||||
layeredPool = new LayeredPool(poolNum, prizeCount); // 初始化LayeredPool,假设5个人,10000分
|
||||
}
|
||||
if (tMP_CurrBossScore == null)
|
||||
{
|
||||
tMP_CurrBossScore = Instantiate(CreateFishManager.Instance.dieFXPrefabAwardTmp, CreateFishManager.Instance.currGameType.subPanelParent).transform.GetChild(0).GetComponent<TextMeshProUGUI>();
|
||||
}
|
||||
|
||||
var v = layeredPool.BossGlodCoinNotFish(num);
|
||||
redPacketRecords.Add(v);
|
||||
foreach (var item in v)
|
||||
{
|
||||
bossScoreValue += item.Amount;
|
||||
}
|
||||
turretNum = CreateFishManager.Instance.currGameType.currSitData.consumeGoldNum;
|
||||
GameManager.Instance.StartCoroutine(ShowBigPrize());
|
||||
GameManager.Instance.StartCoroutine(jiafen());
|
||||
|
||||
}
|
||||
public void BigPrize(int min = 2, int max = 4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user