diff --git a/scripting/include/feedthetrolls/base.inc b/scripting/include/feedthetrolls/base.inc index fc87007..c1d8837 100644 --- a/scripting/include/feedthetrolls/base.inc +++ b/scripting/include/feedthetrolls/base.inc @@ -311,6 +311,13 @@ bool ApplyAffect(int victim, const Troll troll, int activator, trollModifier mod } else if(StrEqual(troll.name, "Insta Special")) { FakeClientCommand(victim, "sm_insta"); return false; + } else if(StrEqual(troll.name, "Goo")) { + static float pos[3], ang[3]; + GetClientAbsOrigin(victim, pos); + GetClientAbsAngles(victim, ang); + L4D2_SpitterPrj(victim, pos, ang); + } else if(StrEqual(troll.name, "Stagger")) { + L4D_StaggerPlayer(victim, victim, NULL_VECTOR); } else { #if defined DEBUG PrintToServer("[FTT] Possibly invalid troll, no action: %s", troll.name); diff --git a/scripting/include/feedthetrolls/trolls.inc b/scripting/include/feedthetrolls/trolls.inc index a97e035..6f466b2 100644 --- a/scripting/include/feedthetrolls/trolls.inc +++ b/scripting/include/feedthetrolls/trolls.inc @@ -9,9 +9,9 @@ void SetupTrolls() { SetCategory("Magnets"); index = SetupTroll("Special Magnet", "Attracts ALL specials to any alive target with this troll enabled", TrollMod_Constant, false); AddMagnetFlags(index); - index = SetupTroll("Tank Magnet", "Attracts ALL tanks to any alive target with this troll enabled", TrollMod_Constant); + index = SetupTroll("Tank Magnet", "Attracts ALL tanks to any alive target with this troll enabled", TrollMod_Constant, false); AddMagnetFlags(index); - index = SetupTroll("Witch Magnet", "All witches when startled will target any player with this troll", TrollMod_Constant); + index = SetupTroll("Witch Magnet", "All witches when startled will target any player with this troll", TrollMod_Constant, false); AddMagnetFlags(index); SetCategory("Infected"); @@ -19,6 +19,7 @@ void SetupTrolls() { SetupTroll("Vomit Player", "Shortcut to sm_vomitplayer. vomits the player.", TrollMod_Instant); SetupTroll("Inface Special", "Shortcut to sm_inface", TrollMod_Instant); SetupTroll("Insta Special", "Shortcut to sm_insta", TrollMod_Instant); + SetupTroll("Goo", "Spawns a spitter puddle underneath them", TrollMod_Instant); SetCategory("Items"); SetupTroll("Throw It All", "Player throws their item(s) periodically to a nearby player", TrollMod_Instant); @@ -52,6 +53,7 @@ void SetupTrolls() { SetupTroll("No Shove", "Prevents a player from shoving", TrollMod_Constant); SetupTroll("CameTooEarly", "When they shoot, random chance they empty whole clip", TrollMod_Constant); SetupTroll("Inverted Controls", "Well, aint it obvious", TrollMod_Constant); + SetupTroll("Stagger", "Like a slap, but different", TrollMod_Instant); //INFO: UP MAX_TROLLS when adding new trolls! }