Corruption Cards dialogues and more (untested).

This commit is contained in:
Mari the Deer 2022-08-04 17:18:23 +02:00
commit d30600a185
9 changed files with 323 additions and 2 deletions

View file

@ -42,6 +42,20 @@ Class DSparilMessage : Inventory
}
}
Class ROM3R0Message : Inventory
{
override void DoEffect()
{
if ( Owner.InStateSequence(Owner.CurState,Owner.SeeState) )
{
//Console.PrintfEx(PRINT_CHAT,"\crROM3R-0\c-: "); // have no idea what he says, will set this later
let hnd = SWWMHandler(EventHandler.Find("SWWMHandler"));
if ( hnd ) hnd.doromerobotmsg = true;
DepleteOrDestroy();
return;
}
}
}
extend Class SWWMHandler
{
String bosstag;
@ -399,6 +413,16 @@ extend Class SWWMHandler
doextramsg = true;
}
}
if ( ccloaded && (e.Thing.GetClassName() == "CCards_Boss_Romero") )
{
bossactors.Push(e.Thing);
e.Thing.StartHealth = e.Thing.Health *= 10;
if ( trk ) trk.bBOSS = true;
bosstag = "ROM3R-0.666";
e.Thing.GiveInventory('BossMarker',1);
e.Thing.GiveInventory('EndgameBossMarker',1);
e.Thing.GiveInventory('ROM3R0Message',1);
}
}
private void VanillaBossTick()
{