Skip to content

Commit

Permalink
fixed hoovy logic, bonk scout change, cost reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
higps committed Feb 9, 2024
1 parent 0d9b713 commit 8c766aa
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 35 deletions.
2 changes: 1 addition & 1 deletion ability_free_disruptor_heavy_hoovy_ability.sp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public Action TF2_OnTakeDamage(int victim, int &attacker, int &inflictor, float
if (tauntid != -1)SendVictimToSpace(victim);
}

if(!TF2_IsPlayerInCondition(attacker, TFCond_RuneWarlock)) RequestFrame(StunPlayer, victim);
if(!TF2_IsPlayerInCondition(attacker, TFCond_RuneWarlock) && IsPlayerAlive(attacker)) RequestFrame(StunPlayer, victim);


}
Expand Down
18 changes: 18 additions & 0 deletions berobot_dmg_handler.sp
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,24 @@ public Action TF2_OnTakeDamage(int victim, int &attacker, int &inflictor, float
}
}

if(IsAnyRobot(attacker))
{
switch (damagecustom)
{
case TF_CUSTOM_BASEBALL:
{
if(IsSandman(weapon))
{
// SetHealingDebuff(victim, g_HealDebuff, 0.5, attacker);
DizzyTarget(victim);
return Plugin_Changed;

}

}
}
}

if(IsAnyRobot(victim) && !IsAnyRobot(attacker))
{

Expand Down
2 changes: 1 addition & 1 deletion berobot_handler.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@ void CalculateDamageModifier(int dmg_method)
}

float damage_bonus(float x) {
float base = Pow(2.75/ 1.0, 1.0 / 17.0);
float base = Pow(2.75/ 1.0, 1.0 / 10.0);
return 1.0 * Pow(base, x);
}

Expand Down
4 changes: 2 additions & 2 deletions cfg/robots/free_damage_grenades_demoman_raid.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"model" "models/bots/demo_boss/bot_demo_boss.mdl"
"class" "Demoman"
"shortdescription" "Rapid Short Range Iron Bomber"
"shortdescription" "Short Range Rapid Iron Bomber"
"name" "Raid"
"deathtip" "Short Circuit and Airblast are good ways to deal with this robot"
"role" "Damage"
Expand Down Expand Up @@ -52,7 +52,7 @@
"clip size bonus" "2.25"
"killstreak tier" "1.0"
"faster reload rate" "1.75"
"projectile speed decreased" "0.8"
"projectile speed decreased" "0.6"
"hidden primary max ammo bonus" "3.0"
"dmg penalty vs buildings" "0.5"
}
Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/paid_damage_grenades_demoman_zipbomb.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}
"custom_attributes_weapon"
{
"caber-throw" "caber_blast_damage=110.0 caber_blast_radius=176.0 caber_det_impact=1 caber_regen_time=0.5 caber_grenade_speed=2600.0"
"caber-throw" "caber_blast_damage=180.0 caber_blast_radius=150.0 caber_det_impact=1 caber_regen_time=4.0 caber_grenade_speed=1200.0"
}
}

Expand Down
5 changes: 2 additions & 3 deletions cfg/robots/paid_disruptor_pyro_astrobot.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tips" "25%%%% Faster Airblast\nAirblasts propel you backwards while airborne\nHeal 175 on extinguish"
"health" "3000"
"difficulty" "3"
"rc_cost" "0.5"
"rc_cost" "0.6"
"sounds"
{
"death" "mvm/sentrybuster/mvm_sentrybuster_explode.wav"
Expand Down Expand Up @@ -50,7 +50,6 @@
"attributes"
{
"restore health on kill" "10.0"
"dmg penalty vs players" "1.25"
"maxammo primary increased" "2.5"
"killstreak tier" "1.0"
"airblast pushback scale" "1.6"
Expand All @@ -60,7 +59,7 @@
"flame_speed" "3600.0"
"extinguish restores health" "175.0"
"airblast vertical pushback scale" "1.5"
"airblast cost increased" "4.0"
"airblast cost increased" "5.0"
}
}
}
Expand Down
10 changes: 1 addition & 9 deletions cfg/robots/paid_disruptor_scout_bonkscout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"subclass" "Disruptor"
"health" "1250"
"difficulty" "3"
"rc_cost" "0.5"
"rc_cost" "0.6"
"sounds"
{
"death" "mvm/sentrybuster/mvm_sentrybuster_explode.wav"
Expand All @@ -27,10 +27,6 @@
"increased jump height" "1.25"
"rage giving scale" "0.75"
}
"custom_attributes_player"
{
"OnCondAdd-addcond" "oncond=14 duration=8.0 addcond=95"
}
"remove_weapon_slots"
{
"slot" "0"
Expand Down Expand Up @@ -68,10 +64,6 @@
"effect bar recharge rate increased" "0.2"
"dmg penalty vs buildings" "0.8"
}
"custom_attributes_weapon"
{
"OnCondAdd-addcond" "oncond=14 duration=8.0 addcond=95"
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/paid_disruptor_scout_fanscout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"subclass" "Disruptor"
"health" "2150"
"difficulty" "2"
"rc_cost" "0.5"
"rc_cost" "0.6"
"sounds"
{
"death" "mvm/sentrybuster/mvm_sentrybuster_explode.wav"
Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/paid_disruptor_scout_hypescout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tips" "Use the boost you gain on hit to close the gap to get in enemies face"
"health" "2150"
"difficulty" "2"
"rc_cost" "0.5"
"rc_cost" "0.6"
"sounds"
{
"death" "mvm/sentrybuster/mvm_sentrybuster_explode.wav"
Expand Down
15 changes: 4 additions & 11 deletions cfg/robots/paid_healer_robovich.cfg
Original file line number Diff line number Diff line change
@@ -1,39 +1,32 @@
"Robot"
{
"model" "models/bots/heavy_boss/bot_heavy_boss.mdl"
"model" "models/bots/heavy/bot_heavy.mdl"
"class" "Heavy"
"shortdescription" "Rapid Sandvich tosser"
"name" "RoboVich"
"deathtip" "Avoid the melee range"
"role" "Healer"
"subclass" "Healer"
"tips" "Throw sandwiches to teammates and punch stuff"
"health" "6000"
"health" "2000"
"difficulty" "1"
"rc_cost" "1"
"sounds"
{
"death" "mvm/sentrybuster/mvm_sentrybuster_explode.wav"
"loop" "mvm/giant_heavy/giant_heavy_loop.wav"
"spawn" "#mvm/giant_heavy/giant_heavy_entrance.wav"
"weaponsound" "2"
//Weapon sound uses robot weapon noises
//0 = NONE, 1 = ROCKETLAUNCHER, 2 = MINIGUN, 3 = FLAMETHROWER, 4 = GRENADELAUNCHER
//Below are custom paths if needed, this will work with custom files on the server
"gunfire" ")mvm/giant_heavy/giant_heavy_gunfire.wav"
"gunspin" ")mvm/giant_heavy/giant_heavy_gunspin.wav"
"windup" ")mvm/giant_heavy/giant_heavy_gunwindup.wav"
"winddown" ")mvm/giant_heavy/giant_heavy_gunwinddown.wav"
}
"player_attributes"
{
"move speed penalty" "0.5"
"move speed penalty" "0.9"
"damage force reduction" "0.5"
"airblast vulnerability multiplier" "0.2"
"aiming movespeed increased" "2.0"
"ammo regen" "100.0"
"cancel falling damage" "1.0"
"rage giving scale" "0.75"
"head scale" "0.75"
}
"remove_weapon_slots"
{
Expand Down
4 changes: 2 additions & 2 deletions cfg/robots/paid_sentry_buster_jetpack_pyro.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"player_attributes"
{
"ammo regen" "100.0"
"move speed penalty" "0.9"
"move speed penalty" "1.1"
"damage force reduction" "0.5"
"airblast vulnerability multiplier" "0.8"
"airblast vulnerability multiplier" "0.1"
"boots falling stomp" "1.0"
"override footstep sound set" "6.0"
"rage giving scale" "0.75"
Expand Down
4 changes: 2 additions & 2 deletions cfg/robots/paid_tank_heavy_chief.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
"player_attributes"
{
"move speed penalty" "0.7"
"move speed penalty" "0.75"
"damage force reduction" "0.5"
"airblast vulnerability multiplier" "0.5"
"cancel falling damage" "1.0"
Expand Down Expand Up @@ -50,7 +50,7 @@
"skin" "0"
"attributes"
{
"heal on kill" "500.0"
"heal on kill" "1500.0"
"killstreak tier" "1.0"
"dmg penalty vs players" "1.25"
"melee range multiplier" "1.25"
Expand Down
2 changes: 1 addition & 1 deletion mm_attribute_caber_throw.sp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void OnPlayerRunCmdPost(int clientId, int buttons)
float timeLeft = CaberGrenade[weaponId].RegenTimer.GetTimeRemaining();
SetHudTextParams(-1.0, 0.65, HudRefreshRate, 255, 255, 255, 255);

ShowSyncHudText(clientId, HudSync, "Caber Cooldown: %.0fs", timeLeft);
ShowSyncHudText(clientId, HudSync, "Caber Cooldown: %.0fs", timeLeft+1.0);
}

if (CaberGrenade[weaponId].RegenTimer.Expired())
Expand Down

0 comments on commit 8c766aa

Please sign in to comment.