Skip to content

Commit

Permalink
- More ZScript tweaking. :V
Browse files Browse the repository at this point in the history
  • Loading branch information
LordMisfit committed Aug 14, 2017
1 parent 74aaf10 commit b6f8ede
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 30 deletions.
15 changes: 4 additions & 11 deletions DUMP3/decorate/dump3-dvds.dec
Expand Up @@ -17,9 +17,6 @@ ACTOR AdolfHitlerDS : AetheriusMonsterZSC replaces AdolfHitler
Painchance "Fist", 255 // Fist attacks have a +50% chance of stunning an enemy
Painchance "Kick", 255 // Kick attacks have a +150% chance of stunning an enemy
Painchance "Gauntlets", 255 // Fist attacks have a +50% chance of stunning an enemy
Painchance "GravityHP", 255
Painchance "GravityMP", 255
Painchance "GravityHPMP", 255

States
{
Expand Down Expand Up @@ -72,8 +69,7 @@ ACTOR AdolfHitlerDS : AetheriusMonsterZSC replaces AdolfHitler
{
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
A_CustomBulletAttack (user_shotaccuracy, user_shotzaccuracy, 3, ((random(1,5) * 3) * ACS_NamedExecuteWithResult("CrisisMultiplier")), "BulletPuff", 0, 1);
}
else
Expand All @@ -85,8 +81,7 @@ ACTOR AdolfHitlerDS : AetheriusMonsterZSC replaces AdolfHitler
{
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
A_CustomMissile("ZombieBulletTracerCrisis", 24, 0, frandom(user_shotaccuracy1,user_shotaccuracy2), CMF_OFFSETPITCH, frandom(user_shotzaccuracy1,user_shotzaccuracy2));
A_CustomMissile("ZombieBulletTracerCrisis", 24, 0, frandom(user_shotaccuracy1,user_shotaccuracy2), CMF_OFFSETPITCH, frandom(user_shotzaccuracy1,user_shotzaccuracy2));
A_CustomMissile("ZombieBulletTracerCrisis", 24, 0, frandom(user_shotaccuracy1,user_shotaccuracy2), CMF_OFFSETPITCH, frandom(user_shotzaccuracy1,user_shotzaccuracy2));
Expand Down Expand Up @@ -115,8 +110,7 @@ ACTOR AdolfHitlerDS : AetheriusMonsterZSC replaces AdolfHitler
{
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
A_CustomBulletAttack (user_shotaccuracy, user_shotzaccuracy, 3, ((random(1,5) * 3) * ACS_NamedExecuteWithResult("CrisisMultiplier")), "BulletPuff", 0, 1);
}
else
Expand All @@ -128,8 +122,7 @@ ACTOR AdolfHitlerDS : AetheriusMonsterZSC replaces AdolfHitler
{
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
A_CustomMissile("ZombieBulletTracerCrisis", 24, 0, frandom(user_shotaccuracy1,user_shotaccuracy2), CMF_OFFSETPITCH, frandom(user_shotzaccuracy1,user_shotzaccuracy2));
A_CustomMissile("ZombieBulletTracerCrisis", 24, 0, frandom(user_shotaccuracy1,user_shotaccuracy2), CMF_OFFSETPITCH, frandom(user_shotzaccuracy1,user_shotzaccuracy2));
A_CustomMissile("ZombieBulletTracerCrisis", 24, 0, frandom(user_shotaccuracy1,user_shotaccuracy2), CMF_OFFSETPITCH, frandom(user_shotzaccuracy1,user_shotzaccuracy2));
Expand Down
12 changes: 4 additions & 8 deletions KDIZD/Decorate/KDIZDOriginal.dec
Expand Up @@ -586,8 +586,7 @@ ACTOR MaulerDemon : AetheriusMonsterZSC 3123
if(GetCVar("dvds_monstercrisisattacks") == 0) { A_SetUserVar("user_canusecrisisatk",0); }
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack2",7);
A_PlaySound("crisisattack",6);
A_PlayCrisisAtkSound;
A_CustomMeleeAttack( ((random(1,10)*4) * ACS_NamedExecuteWithResult("CrisisMultiplier")) ,"none","none"); // A_SargAttack
}
else
Expand Down Expand Up @@ -852,8 +851,7 @@ ACTOR RapidFireTrooper : AetheriusMonsterZSC 3201
{
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
A_CustomBulletAttack(user_shotaccuracy, user_shotzaccuracy, 1, ((random(1,5) * 3) * ACS_NamedExecuteWithResult("CrisisMultiplier")), "BulletPuff", 0, CBAF_NORANDOM);
}
else
Expand All @@ -865,8 +863,7 @@ ACTOR RapidFireTrooper : AetheriusMonsterZSC 3201
{
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
A_CustomMissile("ZombieBulletTracerCrisis", 32, 12, frandom(user_shotaccuracy1,user_shotaccuracy2), CMF_OFFSETPITCH, frandom(user_shotzaccuracy1,user_shotzaccuracy2));
}
else
Expand Down Expand Up @@ -2289,8 +2286,7 @@ actor MagmantisLostSoul : AetheriusMonsterZSC
if(GetCVar("dvds_monstercrisisattacks") == 0) { A_SetUserVar("user_canusecrisisatk",0); }
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack2",7);
A_PlaySound("crisisattack",6);
A_PlayCrisisAtkSound;
A_SkullAttack(50);
}
else
Expand Down
9 changes: 3 additions & 6 deletions TCOTD2/decorate/tcotd2monsters.dec
Expand Up @@ -622,8 +622,7 @@ ACTOR TommyGunCultistNew : AetheriusMonsterZSC 29011
//if(GetCVar("dvds_monstercrisisattacks") == 0) { A_SetUserVar("user_canusecrisisatk",0); }
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
A_CustomBulletAttack(10, 5.6, 1, ((Random(4,6) * Random(1,2)) * ACS_NamedExecuteWithResult("CrisisMultiplier")), "BulletPuff2", 0, CBAF_NORANDOM);
}
else
Expand All @@ -638,8 +637,7 @@ ACTOR TommyGunCultistNew : AetheriusMonsterZSC 29011
if(GetCVar("dvds_monstercrisisattacks") == 0) { A_SetUserVar("user_canusecrisisatk",0); }
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
A_CustomMissile("TCOTDBulletTracerCrisis", 32, 12, frandom(-5.0,5.0), CMF_OFFSETPITCH, frandom(-2.8,2.8));
}
else
Expand Down Expand Up @@ -772,8 +770,7 @@ ACTOR ShotgunCultistNew : TommyGunCultistNew 29010
A_SetUserVar("user_canusecrisisatk",0);
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack",6);
A_PlaySound("crisisattack2",7);
A_PlayCrisisAtkSound;
if (GetCVar("dvds_monsterbulletstracers") == 0) // Hitscan
{
A_CustomBulletAttack (user_shotaccuracy, user_shotzaccuracy, 3, ((Random(4,6) * Random(1,2)) * ACS_NamedExecuteWithResult("CrisisMultiplier")), "BulletPuff", 0, 1);
Expand Down
3 changes: 1 addition & 2 deletions Unloved/decorate/unlovedmonsters.dec
Expand Up @@ -1260,8 +1260,7 @@ ACTOR BloodFiendNew : AetheriusMonsterZSC replaces BloodFiend 30100
if(GetCVar("dvds_monstercrisisattacks") == 0) { A_SetUserVar("user_canusecrisisatk",0); }
if(user_canusecrisisatk == 1)
{
A_PlaySound("crisisattack2",7);
A_PlaySound("crisisattack",6);
A_PlayCrisisAtkSound;
A_CustomMeleeAttack( ((random(1,10)*4) * ACS_NamedExecuteWithResult("CrisisMultiplier")) ,"none","none"); // A_SargAttack
}
else
Expand Down
3 changes: 0 additions & 3 deletions circus666/decorate/circus666.dec
Expand Up @@ -320,9 +320,6 @@ ACTOR PennywiseHeadNew : AetheriusMonsterZSC replaces Pennywise 32119
Painchance "Fist", 120 // Fist attacks have a +50% chance of stunning an enemy
Painchance "Kick", 200 // Kick attacks have a +150% chance of stunning an enemy
Painchance "Gauntlets", 120 // Fist attacks have a +50% chance of stunning an enemy
Painchance "GravityHP", 255
Painchance "GravityMP", 255
Painchance "GravityHPMP", 255
DamageFactor "Holy", 2
DamageFactor "Magic", 1.25
Painchance "Holy", 160
Expand Down

0 comments on commit b6f8ede

Please sign in to comment.