Skip to content
Snippets Groups Projects
Commit f0a5baf9 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3365 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4fe02565
No related branches found
No related tags found
No related merge requests found
......@@ -1288,7 +1288,9 @@ function _M:createRandomBoss(base, data)
b.auto_stats = {}
-- Always smart
b.ai = "tactical"
if data.ai then b.ai = data.ai
else b.ai = (b.rank > 3) and "tactical" or b.ai
end
b.ai_state = { talent_in=1, ai_move="move_astar" }
-- Remove default equipment, if any
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment