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

The Grand Corruptor will speak to the main player

git-svn-id: http://svn.net-core.org/repos/t-engine4@4995 51575b47-30f0-44d4-a5cc-537603b46e54
parent d8290561
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ newEntity{ base = "BASE_NPC_ELVEN_CASTER", define_as = "GRAND_CORRUPTOR",
print("Player has a total of "..has_spells.." spell levels")
if not game.player:hasQuest("antimagic") and has_spells > 10 then
local Chat = require "engine.Chat"
local chat = Chat.new("corruptor-quest", self, game.player)
local chat = Chat.new("corruptor-quest", self, game:getPlayer(true))
chat:invoke()
return 0
end
......
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