Improve knight's damage boost code

This commit is contained in:
LoneWolfHT 2020-10-16 14:51:07 -07:00
parent ecc6858c15
commit abb463fbd3
3 changed files with 14 additions and 29 deletions

View file

@ -2,7 +2,7 @@ local latest_updates = minetest.formspec_escape([[
- Prevented knights from using the SMG
- Gave medic class building tools and prevented them from using SMG/Shotgun
- Changed fall damage to use the combat system
- Increased damage dealt by knights (+1 hp) when wielding swords
- Increased damage dealt by knights (up to +1.5 hp depending on time since last punch) when wielding swords
- Merged the sniper class with the shooter class
- Changed bandages to give two points per heal
- Made rifle automatic and doubled damage
@ -17,8 +17,9 @@ if minetest.global_exists("sfinv") then
get = function(self, player, context)
return sfinv.make_formspec(player, context,
"real_coordinates[true]" ..
"box[0.1,0.5;10.4,10.25;#222222]" ..
"textarea[0.1,0.5;10.4,10.25;;The latest updates to CTF are listed here;" .. latest_updates .. "]", false)
"label[3,0.4;"..minetest.colorize("#00aa00", "The latest updates to CTF are listed here").."]" ..
"box[0.1,0.65;10.4,10.1;#222222]" ..
"textarea[0.1,0.65;10.4,10.1;;;" .. latest_updates .. "]", false)
end
})
end