typo-corrected races.lua file [repost]
Posted: Fri Apr 01, 2011 1:49 am
I posted this last night, but the thread must have been lost when the hosting changed. While perusing the racial talents file*, I happened to notice a couple of typos in the talent descriptions. I was going to report them, but then I noticed a few more, so I copied the entire page into a .txt file and corrected as I went. Now I have the entire racial talents file on my desktop with at least most of the typos fixed. Is there a good way to get this to darkgod?
If anyone is interested, the breakdown goes something like this.
- 9 missing periods ("The bonus will increase with the Willpower stat", with no period)
- 10 typos (originaly, maximun, never carrying much -> never caring much)
- 2 unnecessary capitalizations (Blight and Arcane)
- 3 grammatical errors (Highers have originaly (sic) been created, Dwarves skin is a complex structure, Heal for %d life and removes up to %d detrimental effects.)
- 6 plural possessive errors in the comments (no one will ever see those, but they're fixed, darn it!)
*http://svn.net-core.org/repos/t-engine4 ... /races.lua
As an aside, the code currently contains this oddity. Notice that the description says self:getCun() / 5, but the effect is self:getCun() / 2. Is this a bug?
If anyone is interested, the breakdown goes something like this.
- 9 missing periods ("The bonus will increase with the Willpower stat", with no period)
- 10 typos (originaly, maximun, never carrying much -> never caring much)
- 2 unnecessary capitalizations (Blight and Arcane)
- 3 grammatical errors (Highers have originaly (sic) been created, Dwarves skin is a complex structure, Heal for %d life and removes up to %d detrimental effects.)
- 6 plural possessive errors in the comments (no one will ever see those, but they're fixed, darn it!)
*http://svn.net-core.org/repos/t-engine4 ... /races.lua
As an aside, the code currently contains this oddity. Notice that the description says self:getCun() / 5, but the effect is self:getCun() / 2. Is this a bug?
Code: Select all
action = function(self, t)
self:setEffect(self.EFF_HALFLING_LUCK, 5, {
physical=10 + self:getCun() / 2,
spell=10 + self:getCun() / 2,
})
return true
end,
info = function(self, t)
return ([[Call upon the luck and cunning of the Little Folk to increase your physical and spell critical strike chance by %d%% for 5 turns.
The bonus will increase with the Cunning stat.]]):format(10 + self:getCun() / 5, 10 + self:getCun() / 5)
end,
}