Small combat balancing: Small crawling nerf, Esword buff (#5937)
* adds a delay and message to crawling underneath people * makes eswords take less stamloss to swing around, lays down groundwork for later parts of combat reworks * FUCK
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
/obj/item
|
||||
var/total_mass
|
||||
var/total_mass //Total mass in arbitrary pound-like values. If there's no balance reasons for an item to have otherwise, this var should be the item's weight in pounds.
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
/obj/item/melee/transforming/energy/sword
|
||||
total_mass = 0.375 //Survival flashlights typically weigh around 5 ounces.
|
||||
total_mass_on = 3.4 //The typical medieval sword, on the other hand, weighs roughly 3 pounds.
|
||||
@@ -0,0 +1,11 @@
|
||||
/obj/item/melee/transforming
|
||||
var/total_mass_on //Total mass in ounces when transformed. Primarily for balance purposes. Don't think about it too hard.
|
||||
|
||||
/obj/item/melee/transforming/getweight()
|
||||
if(total_mass && total_mass_on)
|
||||
if(active)
|
||||
return max(total_mass_on,MIN_MELEE_STAMCOST)
|
||||
else
|
||||
return max(total_mass,MIN_MELEE_STAMCOST)
|
||||
else
|
||||
return initial(w_class)*1.25
|
||||
Reference in New Issue
Block a user