HumanoidNPC: explicit initialiser call no longer required

Former-commit-id: ecc822302182bc55f9a11ede39f74bfaf8fe6c87
Former-commit-id: 92f49eb574cb4f7bbf93dae8bf0ff32fa33a74ae
This commit is contained in:
Song Minjae
2017-02-05 03:05:18 +09:00
parent 1909a02d85
commit ee3b72949e
2 changed files with 5 additions and 1 deletions

View File

@@ -16,7 +16,6 @@ object PlayerBuilderCynthia {
LuaAIWrapper("/net/torvald/terrarum/gameactors/ai/scripts/PokemonNPCAI.lua"),
GameDate(100, 143)) // random value thrown
InjectCreatureRaw(p.actorValue, "CreatureHuman.json")
(p.ai as LuaAIWrapper).attachActor(p)
p.actorValue[AVKey.__PLAYER_QUICKBARSEL] = 0