Skip to content

Commit 0ac785d

Browse files
committed
misc changes. again.
1 parent ea33a9e commit 0ac785d

File tree

11 files changed

+95
-28
lines changed

11 files changed

+95
-28
lines changed

game/mod_tf/scripts/items/items_game.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227202,6 +227202,26 @@
227202227202
"effect_type" "negative"
227203227203
"stored_as_integer" "0"
227204227204
}
227205+
"909"
227206+
{
227207+
"name" "airblast cost increased nonflamethrower"
227208+
"attribute_class" "mult_airblast_cost_nonflamethrower"
227209+
"description_string" "#Attrib_AirblastCost_Increased"
227210+
"description_format" "value_is_percentage"
227211+
"hidden" "0"
227212+
"effect_type" "negative"
227213+
"stored_as_integer" "0"
227214+
}
227215+
"910"
227216+
{
227217+
"name" "airblast cost decreased nonflamethrower"
227218+
"attribute_class" "mult_airblast_cost_nonflamethrower"
227219+
"description_string" "#Attrib_AirblastCost_Decreased"
227220+
"description_format" "value_is_percentage"
227221+
"hidden" "0"
227222+
"effect_type" "positive"
227223+
"stored_as_integer" "0"
227224+
}
227205227225

227206227226
"1000"
227207227227
{

game/quiver/info_changelog.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Whitelists:
1010
- The Homewrecker/Maul
1111
- The Powerjack
1212
- The Hot Hand
13-
- The Brass Beast
1413
- The Huo-Long Heater
1514
- The Dalokoh's Bar/Fishcake
1615
- The Second Banana
@@ -32,6 +31,7 @@ Whitelists:
3231
- Darwin's Danger Shield
3332
- The Cleaner's Carbine
3433
- The Reserve Shooter
34+
- The Pain Train
3535

3636
Blacklists:
3737
- The Spy-Cicle
@@ -73,12 +73,14 @@ Details:
7373
- Instead of a meter that does mini-crits when filled, The Cleaner's Carbine has been rebalanced to give 3 seconds of crits on kill, however these crits are affected by falloff (similar to the post-JI Ambassador)
7474
- Fixed the Engineer's build PDA not having proper mini-crit glow colors
7575
- Fixed the stock flame thrower not having proper mini-crit glow colors
76-
- The Reserve Shooter now crits airborne opponents (not including jumping or air jumping players) within 3 seconds of it being deployed. After the 3 seconds has elapsed, the crits are downgraded to mini-crits.
77-
- The Reserve Shooter now has a 15% fire rate penalty.
7876
- Fixed a bug where you couldn't send armored enemies airborne.
7977
- Fixed the armor broken condition not respecting some mini-crit attributes.
8078
- Made it so the the Flying Guillotine guarantees full crits on long distance hits with enemies that just got their armor broken.
8179
- Increased the recharge time for the Flying Guillotine from 5.1 seconds to 7.6 seconds.
80+
- Changed out the Dragon's Fury's -20 max armor attribute for a 25% damage reduction against unarmored players.
81+
- Added a 25% damage penalty on the Vita-Saw.
82+
- Removed the -10 max health penalty on the Vita-Saw.
83+
- Made it so the Vita-Saw saves up to 20% ÜberCharge after death, instead of using the organ mechanic.
8284

8385
Quiver Private Alpha 1.1.0:
8486
Whitelists:

game/quiver/info_highlights.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Unlockable weapon balance changes:
8181
- Fixed Ullapool Caber explosions not counting as melee kills.
8282
- Fixed Ullapool Caber not using mini-crits when charging.
8383
- Restored the Dragon's Fury to its original Jungle Inferno version.
84-
- The Dragon's Fury now 100% crits vs players that just had their armor break, in return for 20 less max armor on the user.
84+
- The Dragon's Fury now 100% crits vs players that just had their armor break, in return for 25% reduced damage against armor.
8585
- The Dragon's Fury's unused pressure meter now shows up by default, allowing you to view its pressure when switching weapons.
8686
- Fixed Gunslinger being able to pause melee hit combos when holstering the weapon.
8787
- Reduced the reload penalty on the Shortstop from 50% to 25%.
@@ -99,10 +99,11 @@ Unlockable weapon balance changes:
9999
- Made it so the Beggar's Bazooka no longer reduces ammo during a misfire.
100100
- The Darwin's Danger Shield now only gives a 15 max health bonus and a 10 max armor bonus instead of afterburn immunity and fire resistance.
101101
- Instead of a meter that does mini-crits when filled, The Cleaner's Carbine has been rebalanced to give 3 seconds of crits on kill, however these crits are affected by falloff (similar to the post-JI Ambassador)
102-
- The Reserve Shooter now crits airborne opponents (not including jumping or air jumping players) within 3 seconds of it being deployed. After the 3 seconds has elapsed, the crits are downgraded to mini-crits.
103-
- The Reserve Shooter now has a 15% fire rate penalty.
104102
- Made it so the the Flying Guillotine guarantees full crits on long distance hits with enemies that just got their armor broken.
105103
- Increased the recharge time for the Flying Guillotine from 5.1 seconds to 7.6 seconds.
104+
- Added a 25% damage penalty on the Vita-Saw.
105+
- Removed the -10 max health penalty on the Vita-Saw.
106+
- Made it so the Vita-Saw saves up to 20% ÜberCharge after death, instead of using the organ mechanic.
106107

107108
MvM Changes:
108109
- Added armor-related upgrades to MvM (max armor, pierces damage resistances, and armor resistance).

game/quiver/info_whitelist.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
- The Quick-Fix (w/ balance changes)
2828
- The Übersaw
2929
- The Amputator
30-
- The Vita-Saw
30+
- The Vita-Saw (w/ balance changes)
3131
- The Huntsman/Fortified Compound (w/ balance changes)
3232
- The Killing Gloves of Boxing
3333
- The Cloak and Dagger (w/ balance changes)
@@ -57,7 +57,6 @@
5757
- The Homewrecker/Maul
5858
- The Powerjack
5959
- The Hot Hand
60-
- The Brass Beast
6160
- The Huo-Long Heater
6261
- The Dalokoh's Bar/Fishcake
6362
- The Second Banana
@@ -78,6 +77,7 @@
7877
- The Beggar's Bazooka (w/ balance changes)
7978
- Darwin's Danger Shield* (w/ balance changes)
8079
- The Cleaner's Carbine* (w/ balance changes)
81-
- The Reserve Shooter (w/ balance changes)
80+
- The Reserve Shooter
81+
- The Pain Train
8282

8383
* - Weapon was whitelisted as long as it got a rebalance.
-2 Bytes
Binary file not shown.

game/quiver/scripts/items/items_game.txt

Lines changed: 38 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18186,7 +18186,6 @@
1818618186
"item_quality" "unique"
1818718187
"min_ilevel" "5"
1818818188
"max_ilevel" "5"
18189-
"stock_whitelist" "1"
1819018189
"used_by_classes"
1819118190
{
1819218191
"heavy" "1"
@@ -19977,15 +19976,10 @@
1997719976
"attribute_class" "mult_clipsize"
1997819977
"value" "0.66"
1997919978
}
19980-
"fire rate penalty"
19981-
{
19982-
"attribute_class" "mult_postfiredelay"
19983-
"value" "1.15"
19984-
}
19985-
"mod crit switch mode airborne deploy"
19979+
"mod mini-crit airborne"
1998619980
{
19987-
"attribute_class" "crit_mode_switch_airborne_deploy"
19988-
"value" "3"
19981+
"attribute_class" "mini_crit_airborne"
19982+
"value" "1"
1998919983
}
1999019984
"single wep deploy time decreased"
1999119985
{
@@ -26373,6 +26367,7 @@
2637326367
"propername" "1"
2637426368
"min_ilevel" "5"
2637526369
"max_ilevel" "5"
26370+
"stock_whitelist" "1"
2637626371
"used_by_classes"
2637726372
{
2637826373
"demoman" "1"
@@ -27254,7 +27249,6 @@
2725427249
"show_in_armory" "1"
2725527250
"item_type_name" "#TF_Weapon_Bonesaw"
2725627251
"item_name" "#TF_Unique_BattleSaw"
27257-
"item_description" "#TF_Unique_BattleSaw_Desc"
2725827252
"item_slot" "melee"
2725927253
"image_inventory" "backpack/workshop/weapons/c_models/c_uberneedle/c_uberneedle"
2726027254
"image_inventory_size_w" "128"
@@ -27277,21 +27271,26 @@
2727727271
}
2727827272
"attributes"
2727927273
{
27280-
"ubercharge_preserved_on_spawn_max"
27274+
"preserve ubercharge"
2728127275
{
27282-
"attribute_class" "ubercharge_preserved_on_spawn_max"
27283-
"value" "0.6"
27284-
}
27285-
"max health additive penalty"
27286-
{
27287-
"attribute_class" "add_maxhealth"
27288-
"value" "-10"
27276+
"attribute_class" "preserve_ubercharge"
27277+
"value" "20"
2728927278
}
2729027279
"lunchbox adds minicrits"
2729127280
{
2729227281
"attribute_class" "set_weapon_mode"
2729327282
"value" "2"
2729427283
}
27284+
"heal rate penalty"
27285+
{
27286+
"attribute_class" "mult_medigun_healrate"
27287+
"value" "0.85"
27288+
}
27289+
"damage penalty"
27290+
{
27291+
"attribute_class" "mult_dmg"
27292+
"value" "0.75"
27293+
}
2729527294
}
2729627295
"visuals"
2729727296
{
@@ -61895,7 +61894,7 @@
6189561894
"dragons fury negative properties" "1"
6189661895
"extinguish restores health" "20"
6189761896
"crit vs fresh meat" "4194304"
61898-
"max armor additive penalty" "-20"
61897+
"armor damage reduced on target" "0.85"
6189961898
}
6190061899
"visuals"
6190161900
{
@@ -227395,6 +227394,26 @@
227395227394
"effect_type" "negative"
227396227395
"stored_as_integer" "0"
227397227396
}
227397+
"909"
227398+
{
227399+
"name" "airblast cost increased nonflamethrower"
227400+
"attribute_class" "mult_airblast_cost_nonflamethrower"
227401+
"description_string" "#Attrib_AirblastCost_Increased"
227402+
"description_format" "value_is_percentage"
227403+
"hidden" "0"
227404+
"effect_type" "negative"
227405+
"stored_as_integer" "0"
227406+
}
227407+
"910"
227408+
{
227409+
"name" "airblast cost decreased nonflamethrower"
227410+
"attribute_class" "mult_airblast_cost_nonflamethrower"
227411+
"description_string" "#Attrib_AirblastCost_Decreased"
227412+
"description_format" "value_is_percentage"
227413+
"hidden" "0"
227414+
"effect_type" "positive"
227415+
"stored_as_integer" "0"
227416+
}
227398227417

227399227418
"1000"
227400227419
{

src/game/server/tf/tf_player.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10034,6 +10034,7 @@ int CTFPlayer::OnTakeDamage( const CTakeDamageInfo &inputInfo )
1003410034
}
1003510035
}
1003610036

10037+
#if !defined(QUIVER_DLL)
1003710038
#ifdef BDSBASE
1003810039
if (pTFAttacker && pTFAttacker->IsPlayerClass(TF_CLASS_MEDIC) && pWeapon && pWeapon->GetWeaponID() == TF_WEAPON_BONESAW)
1003910040
{
@@ -10125,6 +10126,7 @@ int CTFPlayer::OnTakeDamage( const CTakeDamageInfo &inputInfo )
1012510126
}
1012610127
}
1012710128
}
10129+
#endif
1012810130
#endif
1012910131

1013010132
if ( bIsSoldierRocketJumping || bIsDemomanPipeJumping )

src/game/shared/tf/tf_weapon_dragons_fury.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ void CTFWeaponFlameBall::SecondaryAttack( void )
231231
CALL_ATTRIB_HOOK_INT( iChargedAirblast, set_charged_airblast );
232232
float flMultAmmoPerShot = 1.0f;
233233
CALL_ATTRIB_HOOK_FLOAT( flMultAmmoPerShot, mult_airblast_cost );
234+
#ifdef BDSBASE
235+
// after we calculate our airblast cost, consider other weapons
236+
CALL_ATTRIB_HOOK_FLOAT_ON_OTHER(pPlayer, flMultAmmoPerShot, mult_airblast_cost_nonflamethrower);
237+
#endif
234238
int iAmmoPerShot = tf_flamethrower_burstammo.GetInt() * flMultAmmoPerShot;
235239

236240

src/game/shared/tf/tf_weapon_flamethrower.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,10 @@ void CTFFlameThrower::ItemPostFrame()
659659
//FireProjectile( pOwner );
660660
float flMultAmmoPerShot = 1.0f;
661661
CALL_ATTRIB_HOOK_FLOAT( flMultAmmoPerShot, mult_airblast_cost );
662+
#ifdef BDSBASE
663+
// after we calculate our airblast cost, consider other weapons
664+
CALL_ATTRIB_HOOK_FLOAT_ON_OTHER(pOwner, flMultAmmoPerShot, mult_airblast_cost_nonflamethrower);
665+
#endif
662666
int iAmmoPerShot = tf_flamethrower_burstammo.GetInt() * flMultAmmoPerShot;
663667
FireAirBlast( iAmmoPerShot );
664668
}
@@ -1205,6 +1209,10 @@ void CTFFlameThrower::SecondaryAttack()
12051209
CALL_ATTRIB_HOOK_INT( iBuffType, set_buff_type );
12061210
float flMultAmmoPerShot = 1.0f;
12071211
CALL_ATTRIB_HOOK_FLOAT( flMultAmmoPerShot, mult_airblast_cost );
1212+
#ifdef BDSBASE
1213+
// after we calculate our airblast cost, consider other weapons
1214+
CALL_ATTRIB_HOOK_FLOAT_ON_OTHER(pOwner, flMultAmmoPerShot, mult_airblast_cost_nonflamethrower);
1215+
#endif
12081216
int iAmmoPerShot = tf_flamethrower_burstammo.GetInt() * flMultAmmoPerShot;
12091217

12101218
if ( iBuffType != 0 )

src/game/shared/tf/tf_weapon_medigun.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,14 @@ void CWeaponMedigun::WeaponReset( void )
295295
if ( TFGameRules()->State_Get() == GR_STATE_RND_RUNNING )
296296
{
297297
// This is determined via an attribute in SetStoredChargeLevel()
298+
#ifdef BDSBASE
299+
int iPreserveUber = 0;
300+
CALL_ATTRIB_HOOK_INT_ON_OTHER(pOwner, iPreserveUber, preserve_ubercharge);
301+
if (iPreserveUber)
302+
{
303+
m_flChargeLevelToPreserve = (iPreserveUber / 99.f);
304+
}
305+
#endif
298306
m_flChargeLevel = Min( (float)m_flChargeLevel, m_flChargeLevelToPreserve );
299307
}
300308
else

0 commit comments

Comments
 (0)