Skip to content

Commit

Permalink
added some health scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
higps committed Mar 1, 2024
1 parent 73cf476 commit a8a605d
Show file tree
Hide file tree
Showing 20 changed files with 55 additions and 19 deletions.
4 changes: 2 additions & 2 deletions ability_free_tank_heavy_beardedexpense_ability.sp
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ public TF2_OnConditionAdded(client, TFCond:condition)
EmitSoundToAll(ALARM, client);


CreateTimer(4.3, Timer_Taunt_Cancel, client);
CreateTimer(3.3, Timer_Taunt_Cancel, client);
}

if (tauntid == -1)
{

CreateTimer(4.3, Timer_Taunt_Cancel, client);
CreateTimer(3.3, Timer_Taunt_Cancel, client);
}
}
}
Expand Down
10 changes: 10 additions & 0 deletions ability_paid_disruptor_pyro_astrobot_ability.sp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ public Plugin:myinfo =
float fl_NextSecondaryAttack[MAXPLAYERS+1] = {0.0,...};
float AirblastPower = 400.0;

public void OnMapStart()
{
for(int i = 0; i <= MAXPLAYERS; i++)
{
fl_NextSecondaryAttack[i] = 0.0;
}

}

public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3], float angles[3], int& weapon, int& subtype, int& cmdnum, int& tickcount, int& seed, int mouse[2])
{
if(IsRobot(client, ROBOT_NAME) && IsPlayerAlive(client))
Expand Down Expand Up @@ -55,4 +64,5 @@ public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3
// TeleportEntity(client, NULL_VECTOR, NULL_VECTOR, fl_vel);
// }
}
return Plugin_Continue;
}
2 changes: 1 addition & 1 deletion berobot_handler.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,7 @@ void CalculateDamageModifier(int dmg_method)
}

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

Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/boss_demoman_demopan.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tips" "Pan deals massive damage\nUse charges to rush the enemy\nFull turn control"
"model" "models/bots/demo_boss/bot_demo_boss.mdl"
"health" "7500"
"health_bonus_per_player" "50"
"health_bonus_per_player" "100"
"boss_cost" "1"
"rc_cost" "50.0"
"scale" "1.75"
Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/boss_demoman_nuker.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tips" "You shoot payload bombs\nLarge explosion radius\nYou have crit melee weapon"

"health" "5000"
"health_bonus_per_player" "0"
"health_bonus_per_player" "100"
"scale" "1.75"

"boss_cost" "1"
Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/boss_pyro_skilltron.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tips" "Use rapid airblast to shut down the enemy"
"health" "5000"
"scale" "1.75"
"health_bonus_per_player" "25"
"health_bonus_per_player" "100"
"boss_cost" "1"
"rc_cost" "50.0"
"difficulty" "2"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_flames_pyro_agro.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"deathtip" "Agro's Scorch Shot homes in on burning players"
"tips" "You have 3 weapons\nHeal 200 on extinguish"
"health" "3000"
"health_bonus_per_player" "28"
"scale" "1.75"
"difficulty" "1"
"sounds"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_flames_pyro_lister.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Flames"
"tips" "Dragon's Fury deals increased damage\nRun faster with the Powerjack\nHeal 175 on extinguish & Powerjack kills"
"health" "3000"
"health_bonus_per_player" "28"
"scale" "1.75"
"difficulty" "1"
"sounds"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_flames_pyro_rocketman.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Flames"
"tips" "25%%%% Faster Airblast\nHeal 175 on extinguish"
"health" "3500"
"health_bonus_per_player" "25"
"difficulty" "1"
"scale" "1.75"
"sounds"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_flames_pyro_spitfire.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"role" "Damage"
"subclass" "Flames"
"health" "2500"
"health_bonus_per_player" "20"
"scale" "1.65"
"difficulty" "1"
"sounds"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_flames_pyro_wamo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Flames"
"tips" "Additional Uber after activating MMMPH\nHeal 200 when extinguishing with the Manmelter"
"health" "3000"
"health_bonus_per_player" "28"
"scale" "1.75"
"difficulty" "1"
"sounds"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_flames_wizard_pyro_fire_wizard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Flames"
"tips" "Throw fireball! Meele crits on burning"
"health" "2750"
"health_bonus_per_player" "50"
"scale" "1.75"
"difficulty" "2"
"sounds"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_melee_pyro_centurion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Melee"
"tips" "Rush down medics and kill who ever they are healing"
"health" "3250"
"health_bonus_per_player" "60"
"difficulty" "2"

"sounds"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_melee_pyro_volcanyro.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Melee"
"tips" "Throw gas at enemies\nGas-covered enemies explode on ignite\nHit burning targets for an AOE explosion!"
"health" "2750"
"health_bonus_per_player" "50"
"difficulty" "3"
"sounds"
{
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_disruptor_pyro_kristianma.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Disruptor"
"scale" "1.65"
"health" "1750"
"health_bonus_per_player" "50"
"difficulty" "2"
"sounds"
{
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/paid_damage_flames_pyro_aero.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"deathtip" "Try staying out of his effective range"
"tips" "Your reserve shooter mini-crits anyone who jumps"
"health" "4000"
"health_bonus_per_player" "25"
"scale" "1.75"
"difficulty" "2"
"rc_cost" "12"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/paid_damage_flames_pyro_laugh_extractor.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Flames"
"tips" "Kill 5 enemies to charge your scare!\nSlower airblast\nHeal 250 on extinguish"
"health" "3000"
"health_bonus_per_player" "50"
"difficulty" "2"
"rc_cost" "20.0"
"sounds"
Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/paid_damage_melee_pyro_blackknight.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"subclass" "Melee"
"tips" "Run up and whack'em. Use healthpacks to heal"
"health" "3000"
"health_bonus_per_player" "175"
"health_bonus_per_player" "190"
"scale" "1.75"
"difficulty" "2"
"rc_cost" "12"
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/paid_disruptor_pyro_astrobot.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"subclass" "Disruptor"
"tips" "25%%%% Faster Airblast\nAirblasts propel you backwards while airborne\nHeal 175 on extinguish"
"health" "3000"
"health_bonus_per_player" "15"
"difficulty" "3"
"rc_cost" "10"
"sounds"
Expand Down
38 changes: 26 additions & 12 deletions python_stuff/get_rc_df.ipynb

Large diffs are not rendered by default.

0 comments on commit a8a605d

Please sign in to comment.