diff --git a/engine/external/binser.lua b/engine/external/binser.lua index 731200d..6447b5b 100644 --- a/engine/external/binser.lua +++ b/engine/external/binser.lua @@ -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) diff --git a/engine/math/math.lua b/engine/math/math.lua index 38262c7..bfcc208 100644 --- a/engine/math/math.lua +++ b/engine/math/math.lua @@ -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) diff --git a/engine/math/triangle.lua b/engine/math/triangle.lua index e689f7f..8ba5b37 100644 --- a/engine/math/triangle.lua +++ b/engine/math/triangle.lua @@ -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) diff --git a/main.lua b/main.lua index 5a8abcc..1650334 100644 --- a/main.lua +++ b/main.lua @@ -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, @@ -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,