You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
978 B
44 lines
978 B
if (oBeam.chargebeam && (!oBeam.ibeam) && (!oBeam.wbeam) && (!oBeam.pbeam) && (!oBeam.sbeam) && global.missiles == 0 && global.smissiles == 0)
|
|
{
|
|
if (oMOmega.myhealth > 0)
|
|
{
|
|
if (oMOmega.flashing == 0)
|
|
{
|
|
with (oMOmega)
|
|
{
|
|
dmg = 10
|
|
flashtime = 30
|
|
eyes_close = 15
|
|
}
|
|
if (other.smissile == 1)
|
|
{
|
|
with (oMOmega)
|
|
{
|
|
dmg = 50
|
|
flashtime = 60
|
|
eyes_close = 30
|
|
}
|
|
}
|
|
with (oMOmega)
|
|
event_user(0)
|
|
with (other.id)
|
|
event_user(0)
|
|
with (other.id)
|
|
instance_destroy()
|
|
}
|
|
else
|
|
{
|
|
with (other.id)
|
|
event_user(1)
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
with (other.id)
|
|
{
|
|
event_user(1)
|
|
instance_destroy()
|
|
}
|
|
}
|