Improve knight's damage boost code
This commit is contained in:
parent
ecc6858c15
commit
abb463fbd3
3 changed files with 14 additions and 29 deletions
|
@ -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
|
||||
|
|
|
@ -51,7 +51,7 @@ function random_messages.read_messages()
|
|||
"To talk to only your team, start your messages with /t. For example, /t Hello team!",
|
||||
"Use medkits to gradually restore your health.",
|
||||
"Moving or fighting while using medkits will interrupt the healing process.",
|
||||
"Knights have a slight damage bonus when attacking with swords.",
|
||||
"Knights have a slight damage bonus (up to 1.5 hp) when attacking with swords.",
|
||||
"Gain more score by killing more than you die, by healing teammates as a medic, or by capturing the flag.",
|
||||
"You gain more score the better the opponent you defeat.",
|
||||
"Find weapons in chests or mine and use furnaces to make stronger swords.",
|
||||
|
@ -78,7 +78,7 @@ function random_messages.read_messages()
|
|||
"Medics cause troops within 10 metres to regenerate health faster.",
|
||||
"Hitting your enemy does more damage than not hitting them.",
|
||||
"Press right mouse button or double-tap the screen to activate scope while wielding a sniper rifle.",
|
||||
"The 'Updates' tab in your inventory will show some of the latest updates to CTF"
|
||||
"The 'Updates' tab in your inventory will show some of the latest updates to CTF",
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue