Page 1 of 1
Charm
Posted: Wed Apr 09, 2014 2:49 pm
by Zkenpachi11
Does anyone know where charm is handled in the code?
Thanks
Edit: or anywhere? >.< lol
Re: Charm
Posted: Wed Apr 09, 2014 5:47 pm
by kjLotus
did you ctrl+f for charm?
Re: Charm
Posted: Thu Apr 10, 2014 1:11 am
by Zkenpachi11
I don't know where charmability is handled? I can find stuff like if its charmed or like, jug pets and avatars/elementals but.. sorry if im just being dumb ;_;
Re: Charm
Posted: Thu Apr 10, 2014 1:30 am
by kjLotus
scripts/globals/abilities
Re: Charm
Posted: Thu Apr 10, 2014 12:09 pm
by Zkenpachi11
Right, but I don't know what those functions do. Where are the definitions to the functions?
How do I look at what charmPet() is doing?
Re: Charm
Posted: Thu Apr 10, 2014 1:52 pm
by kjLotus
Zkenpachi11 wrote:Right, but I don't know what those functions do. Where are the definitions to the functions?
How do I look at what charmPet() is doing?
lua_baseentity.cpp
Re: Charm
Posted: Thu Apr 10, 2014 2:20 pm
by Zkenpachi11
I'm sorry ;-;
but thank you
Re: Charm
Posted: Thu Apr 10, 2014 3:58 pm
by demolish
Its generally easier to open DSGameServer.sln (in your darkstar/win32 folder)and Ctrl+Shift+F and search entire solution for whatever you're looking for in core such as lua bindings. e.g. search solution for getMJob(lua_State *L) where you see player:getMJob() in a lua script.
Re: Charm
Posted: Thu Apr 10, 2014 9:03 pm
by Zkenpachi11
Oh thank you, I didn't know you could do that, I usually just open the project