Skip to content

Commit

Permalink
Release 0.11.1 (#928)
Browse files Browse the repository at this point in the history
Release 0.11.1
  • Loading branch information
ZenBre4ker authored Nov 16, 2021
1 parent 1810140 commit 9d495e9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel

## Unreleased

## [v0.11.1b](https://github.com/TTT-2/TTT2/tree/v0.11.1b) (2021-11-16)

### Added

- Added four new Karma multipliers as role variables. They are applied **after** all other Karma calculations are done_
Expand Down
20 changes: 20 additions & 0 deletions gamemodes/terrortown/gamemode/client/cl_changes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,26 @@ function CreateChanges()
</ul>
]], os.time({ year = 2021, month = 11, day = 15 }))

AddChange("TTT2 Base - v0.11.1b", [[
<h2>Added</h2>
<ul>
<li>Added four new Karma multipliers as role variables. They are applied **after** all other Karma calculations are done:</li>
<ul>
<li><code>ROLE.karma.teamKillPenaltyMultiplier</code>: The multiplier that is used to calculate the Karma penalty for a team kill</li>
<li><code>ROLE.karma.teamHurtPenaltyMultiplier</code>: The multiplier that is used to calculate the Karma penalty for team damage</li>
<li><code>ROLE.karma.enemyKillBonusMultiplier</code>: The multiplier that is used to calculate the Karma given to the killer if a player from an enemy team is killed</li>
<li><code>ROLE.karma.enemyHurtBonusMultiplier</code>: The multiplier that is used to calculate the Karma given to the attacker if a player from an enemy team is damaged</li>
</ul>
</ul>
<h2>Fixed</h2>
<ul>
<li>Fixed <code>ply:Give(weapon)</code> to work again, when weapons are cached, fixing the spawneditor to work again</li>
<li>Fixed spawneditor not causing errors, when going through walls due to many steps</li>
<li>Set default traitor button variable back to 0</li>
<li>Fixed unchanged or unscaled damage being sent to the client, leading to a wrongly working damage-overlay</li>
</ul>
]], os.time({ year = 2021, month = 11, day = 16 }))

---
-- run hook for other addons to add their changelog as well
-- @realm client
Expand Down
2 changes: 1 addition & 1 deletion gamemodes/terrortown/gamemode/shared/sh_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GM.Name = "TTT2 (Advanced Update)"
GM.Author = "Bad King Urgrain, Alf21, saibotk, Mineotopia, LeBroomer, Histalek, ZenBre4ker"
GM.Email = "[email protected]"
GM.Website = "ttt.badking.net, docs.ttt2.neoxult.de"
GM.Version = "0.11.0b"
GM.Version = "0.11.1b"
GM.Customized = true

TTT2 = true -- identifier for TTT2. Just use "if TTT2 then ... end"
Expand Down

0 comments on commit 9d495e9

Please sign in to comment.