public override void action(Monster parent) { if (!charged) { MessageBoxInterface[] messageBoxes = new MessageBoxInterface[1]; Color[] colors = new Color[1]; colors[0] = Color.White; int mX = 400; int mY = 100; int height = 100; int width = 345; string[] attackMessage = new string[1]; attackMessage[0] = "IMA CHARGIN MAH LASERS!"; charged = true; SubStateConfirmMessage temp = new SubStateConfirmMessage(attackMessage, height, width, mX, mY, StateHandler.State); StateHandler.State = temp; } else if (charged) { charged = false; MessageBoxInterface[] messageBoxes = new MessageBoxInterface[1]; Color[] colors = new Color[1]; colors[0] = Color.White; int mX = 400; int mY = 100; int height = 100; int width = 345; string[] attackMessage = new string[1]; attackMessage[0] = "IMA FIRIN MAH LASERS!"; SubStateConfirmMessage temp = new SubStateConfirmMessage(attackMessage, height, width, mX, mY, StateHandler.State); StateHandler.State = temp; int choice = Globals.Random(0, 3); int bonus = 1000; if (PCBuilder.getPC(choice).IsDefending()) { bonus = 0; } parent.Attack(BehaviorRSTS.acquireTarget(), Globals.ELEMENT_FIRE, "LASERS", bonus); } }
public override void action(Monster parent) { MessageBoxInterface[] messageBoxes = new MessageBoxInterface[1]; Color[] colors = new Color[1]; colors[0] = Color.White; int mX = 400; int mY = 100; int height = 100; int width = 345; string[] attackMessage = new string[1]; attackMessage[0] = "IMA FIRIN MAH LASER!"; SubStateConfirmMessage temp = new SubStateConfirmMessage(attackMessage, height, width, mX, mY, StateHandler.State); StateHandler.State = temp; parent.Attack(BehaviorRSTS.acquireTarget(), Globals.ELEMENT_PHYSICAL, "cowabunga", 0); }
public override void action(Monster parent) { MessageBoxInterface[] messageBoxes = new MessageBoxInterface[1]; Color[] colors = new Color[1]; colors[0] = Color.White; int mX = 400; int mY = 100; int height = 100; int width = 345; string[] attackMessage = new string[1]; attackMessage[0] = "MOTHER FREAKN NATURE!!!"; SubStateConfirmMessage temp = new SubStateConfirmMessage(attackMessage, height, width, mX, mY, StateHandler.State); StateHandler.State = temp; parent.Attack(BehaviorRSTS.acquireTarget(), Globals.ELEMENT_NATURE, "nature", 75); }
public override void action(Monster parent) { MessageBoxInterface[] messageBoxes = new MessageBoxInterface[1]; Color[] colors = new Color[1]; colors[0] = Color.White; int mX = 400; int mY = 100; int height = 100; int width = 345; string[] attackMessage = new string[1]; attackMessage[0] = "Water Attack!"; SubStateDisplayMessage temp = new SubStateDisplayMessage(attackMessage, height, width, mX, mY, StateHandler.State); StateHandler.State = temp; parent.Attack(BehaviorRSTS.acquireTarget(), Globals.ELEMENT_WATER, "water attack", 0); }
public override void action(Monster parent) { MessageBoxInterface[] messageBoxes = new MessageBoxInterface[1]; Color[] colors = new Color[1]; colors[0] = Color.CornflowerBlue; int mX = 400; int mY = 100; int height = 100; int width = 345; string[] attackMessage = new string[1]; attackMessage[0] = "HURRICANE!"; SubStateConfirmMessage temp = new SubStateConfirmMessage(attackMessage, height, width, mX, mY, StateHandler.State); StateHandler.State = temp; parent.Attack(BehaviorRSTS.acquireTarget(), Globals.ELEMENT_WATER, "hurricane", 40); }
public override void action(Monster parent) { MessageBoxInterface[] messageBoxes = new MessageBoxInterface[1]; Color[] colors = new Color[1]; colors[0] = Color.Crimson; int mX = 400; int mY = 100; int height = 100; int width = 345; string[] attackMessage = new string[1]; attackMessage[0] = "FLAME STORM!"; SubStateConfirmMessage temp = new SubStateConfirmMessage(attackMessage, height, width, mX, mY, StateHandler.State); StateHandler.State = temp; parent.Attack(BehaviorRSTS.acquireTarget(), Globals.ELEMENT_FIRE, "flame storm", 50); }