sTankProj
0
-1
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
canbeX = 0;
image_speed = 0.5;
hpush = 5;
vpush = -3;
//damage = 24;
damage = global.mod_tankDprojectile;
split = 1;
type = "PLASMA";
phase = 0;
1
603
7
0
0
-1
2
self
0
0
1
if (phase > 0) phase --;
1
603
7
0
0
-1
2
self
0
0
1
if (type != "WAVE" && phase == 0) {
event_user(0);
}
1
603
7
0
0
-1
2
self
0
0
1
if (phase == 0) {
damage_player(damage, hpush, vpush, 0, 0);
event_user(0);
}
1
603
7
0
0
-1
2
self
0
0
1
if (type == "ICE" && split == 1) {
/*var proj1 = instance_create(x, y, oTankProjectile);
proj1.direction = 315;
proj1.image_angle = 315;
proj1.type = "ICE";
proj1.split = 0;
proj1.speed = 4;
proj1.phase = 30;
//proj1.sprite_index = sTankProj3;
var proj2 = instance_create(x, y, oTankProjectile);
proj2.direction = 225;
proj2.image_angle = 225;
proj2.type = "ICE";
proj2.split = 0;
proj2.speed = 4;
proj2.phase = 30;
//proj2.sprite_index = sTankProj3;*/
for (var i = 1; i < 5; i++) {
var proj = instance_create(x, y, oTankProjectile);
proj.direction = (i*90) - 45;
proj.image_angle = (i*90) - 45;
proj.type = "ICE";
proj.split = 0;
proj.speed = 4;
proj.phase = 5;
proj.sprite_index = sTankProj2;
}
}
expl = instance_create(x, y, oFXAnimSpark);
expl.image_speed = 0.5;
expl.additive = 0;
switch (type) {
case "PLASMA": expl.sprite_index = sPBeamExpl; break;
case "ICE": expl.sprite_index = sIBeamExpl; break;
case "WAVE": expl.sprite_index = sWBeamExpl; break;
}
PlaySoundMono(sndProjHit2);
instance_destroy();
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1