Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion engine/external/binser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ local function newbinser()
end
end

-- Used to serialize classes withh custom serializers and deserializers.
-- Used to serialize classes with custom serializers and deserializers.
-- If no _serialize or _deserialize (or no _template) value is found in the
-- metatable, then the metatable is registered as a resources.
local function register(metatable, name, serialize, deserialize)
Expand Down
2 changes: 1 addition & 1 deletion engine/math/math.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function math.lerp_dt(f, dt, src, dst)
end


-- Same as math.lerp_angle except correted for usage with delta time.
-- Same as math.lerp_angle except corrected for usage with delta time.
-- math.lerp_angle_dt(0.1, dt, enemy.r, enemy:angle_to_object(player)) -> will cover 90% of the distance between enemy.r and and the enemy's angle to the player per second
function math.lerp_angle_dt(f, dt, src, dst)
return math.lerp_angle((1-f^dt), src, dst)
Expand Down
2 changes: 1 addition & 1 deletion engine/math/triangle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function Triangle:init(x, y, w, h)
end


-- An equilateral triangle class. This is a tringle with size w centered on x, y pointed to the right (angle 0).
-- An equilateral triangle class. This is a triangle with size w centered on x, y pointed to the right (angle 0).
-- Implements every function that Polygon does.
EquilateralTriangle = Object:extend()
EquilateralTriangle:implement(Polygon)
Expand Down
4 changes: 2 additions & 2 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ function init()
['cannoneer'] = function() return '[fg]showers the hit area in [yellow]7[fg] additional cannon shots that deal [yellow]' .. get_character_stat('cannoneer', 3, 'dmg')/2 .. '[fg] AoE damage' end,
['dual_gunner'] = function() return '[fg]every 5th attack shoot in rapid succession for [yellow]2[fg] seconds' end,
['hunter'] = function() return '[fg]summons [yellow]3[fg] pets and the pets ricochet off walls once' end,
['chronomancer'] = function() return '[fg]enemies take damave over time [yellow]50%[fg] faster' end,
['chronomancer'] = function() return '[fg]enemies take damage over time [yellow]50%[fg] faster' end,
['spellblade'] = function() return '[fg]faster projectile speed and tighter turns' end,
['psykeeper'] = function() return '[fg]also redistributes damage taken as damage to all enemies at [yellow]double[fg] value' end,
['engineer'] = function() return '[fg]drops [yellow]2[fg] additional turrets and grants all turrets [yellow]+50%[fg] damage and attack speed' end,
Expand Down Expand Up @@ -717,7 +717,7 @@ function init()
['cannoneer'] = function() return '[light_bg]showers the hit area in 7 additional cannon shots that deal ' .. get_character_stat('cannoneer', 3, 'dmg')/2 .. ' AoE damage' end,
['dual_gunner'] = function() return '[light_bg]every 5th attack shoot in rapid succession for 2 seconds' end,
['hunter'] = function() return '[light_bg]summons 3 pets and the pets ricochet off walls once' end,
['chronomancer'] = function() return '[light_bg]enemies take damave over time 50% faster' end,
['chronomancer'] = function() return '[light_bg]enemies take damage over time 50% faster' end,
['spellblade'] = function() return '[light_bg]faster projectile speed and tighter turns' end,
['psykeeper'] = function() return '[light_bg]also redistributes damage taken as damage to all enemies at double value' end,
['engineer'] = function() return '[light_bg]drops 2 additional turrets and grants all turrets +50% damage and attack speed' end,
Expand Down