Skip to content

Commit

Permalink
Fixed a weird double typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Putnam3145 authored Jul 30, 2017
1 parent 80149dd commit a0afa2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raw/scripts/fortbent/claspect_assign.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function assignClaspect(unit,aspect,class)
local hist_figure=df.historical_figure.find(unit.hist_figure_id)
if hist_figure and hist_figure.info and hist_figure.info.kills then
for k,v in pairs(hist_figure.info.kills.killed_count) do
local caste=df.creature_raw.find(hist_figure_info.kills.killed_race[k]).caste[hist_figure_info.kills.killed_caste[k]]
local caste=df.creature_raw.find(hist_figure.info.kills.killed_race[k]).caste[hist_figure.info.kills.killed_caste[k]]
local bodySizeInfo=caste.body_size_1
local bodySize=bodySizeInfo[#bodySizeInfo-1]/500
local strength=caste.attributes.phys_att_range.STRENGTH[3]/1000
Expand Down Expand Up @@ -135,4 +135,4 @@ function assignAllClaspects()
end
end

require('repeat-util').scheduleUnlessAlreadyScheduled('Claspect Assignment',100,'ticks',assignAllClaspects)
require('repeat-util').scheduleUnlessAlreadyScheduled('Claspect Assignment',100,'ticks',assignAllClaspects)

0 comments on commit a0afa2c

Please sign in to comment.