Wildfrost
39 คะแนน
Battle Data Editor
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
Tools
แท็ก:  Mod
ขนาดไฟล์
โพสต์
อัปเดต
156.513 KB
11 ก.พ. 2024 @ 1: 10pm
10 มี.ค. @ 4: 50pm
14 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
[Backend] Provides useful functions to the creation/editing of battles.




For modders who want to use this, here is an example code on how you would make the Shelled Husks fight and make it the first mandatory fight. This code should be placed some time after all of the cards are loaded (if you are following the documentation tutorial, this code should run after base.Load):

new BattleDataEditor(this, "Spare Shells")
.SetSprite("Spare Shells.png")
.SetNameRef("The Other Shelled Husks")
.EnemyDictionary(('C', "Conker"), ('W', "ShellWitch"), ('P', "Pecan"), ('K', "Prickle"), ('B', "Bolgo"))
.StartWavePoolData(0, "Wave 1: The first of the husks")
.ConstructWaves(3, 0, "CWW", "CWP")
.StartWavePoolData(1, "Wave 2: Some more husks")
.ConstructWaves(3, 1, "PCW", "CPW", "CKW", "KCW")
.StartWavePoolData(2, "Wave 3: Bolgo is here!")
.ConstructWaves(3, 9, "BPW", "BCW")
.AddBattleToLoader().LoadBattle(0, exclusivity: BattleEditor.BattleStack.Exclusivity.removeUnmodded)
.GiveMiniBossesCharms(new string[] { "Bolgo" }, "CardUpgradeAcorn", "CardUpgradeShellOnKill");

The sprite size should be 105x120px IF you are using a pixelDensity of 100 (this can be changed with SetSprite).
If you have further questions, reach out to me on the Wildfrost Discord (@Michael C).

Have fun!
2 ความเห็น
Rob2975 5 พ.ย. 2024 @ 8: 33am 
If you Alt+F4 quick enough you can reset the fight
TTV-Esty8nine 6 ส.ค. 2024 @ 7: 00am 
Can someone please make a mod to redo the last turn if you champion dies, or like a safety thing from Shotgun King?