compilo sem problema,mas qndo eu troquei a função para vender os bless deu alguns erros...
OTServ/npc.cpp: In static member function `static int NpcScript::luaSetNewBless(lua_State*)':
OTServ/npc.cpp:1029: error: redeclaration of `int bless'
OTServ/npc.cpp:1028: error: `int bless' previously declared here
OTServ/npc.cpp:1040: error: 'class Creature' has no member named 'getMoney'
OTServ/npc.cpp:1040: error: `cost' undeclared (first use this function)
OTServ/npc.cpp:1040: error: (Each undeclared identifier is reported only once for each function it appears in.)
OTServ/npc.cpp:1041: error: 'class Creature' has no member named 'substractMoney'
OTServ/npc.cpp:1048: error: 'class Game' has no member named 'sendMagicEffect'
OTServ/npc.cpp:1048: error: `player' undeclared (first use this function)
make.exe: *** [OTServ/npc.o] Error 1
Execution terminated