]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove now unused dmg_last field from Electro code
authorMario <mario.mario@y7mail.com>
Thu, 1 Aug 2024 06:08:03 +0000 (16:08 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 1 Aug 2024 06:08:03 +0000 (16:08 +1000)
bal-wep-mario.cfg
qcsrc/common/weapons/weapon/electro.qc
qcsrc/common/weapons/weapon/electro.qh

index 2858bde448e1c9ddb134240b4b1a06bd731cda83..83b6a7094ef030b99aa7abfaebd2c50700dcc587 100644 (file)
@@ -191,7 +191,7 @@ set g_balance_electro_combo_comboradius_thruwall 200
 set g_balance_electro_combo_damage 50
 set g_balance_electro_combo_duration 1.5
 set g_balance_electro_combo_edgedamage 25
-set g_balance_electro_combo_force 0
+set g_balance_electro_combo_force 120
 set g_balance_electro_combo_radius 150
 set g_balance_electro_combo_safeammocheck 1
 set g_balance_electro_combo_speed 2000
index 2071491486b76ef3e0bf43d61e3d656e2bcac390..d7712eb11ac464852e9e52fdfe027504d9242e8c 100644 (file)
@@ -89,7 +89,6 @@ void W_Electro_ExplodeCombo(entity this)
                this.dmg_radius = WEP_CVAR(electro, combo_radius);
                this.dmg_duration = WEP_CVAR(electro, combo_duration);
                this.teleport_time = time;
-               this.dmg_last = 1;
                set_movetype(this, MOVETYPE_NONE);
                return;
        }
index cdb2f10e0a5bd6cddc59f62167477b17ce25a940..cf117b904aed53f33e0b7235cccf1671cdd6e267 100644 (file)
@@ -83,7 +83,6 @@ SPAWNFUNC_WEAPON(weapon_electro, WEP_ELECTRO)
 .float dmg_edge;
 .float dmg_radius;
 .float dmg_duration;
-.float dmg_last;
 
 IntrusiveList LimitedElectroBallRubbleList;
 .float electro_count;