Jump to content

C++ Polymorph map ox


Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

open char_item.cpp

find this function:

 

CHARACTER::ItemProcess_Polymorph

 

Add:

if (GetMapIndex() == 112)
{   if (IsAffectFlag(AFFECT_POLYMORPH))
            RemoveAffect(AFF_POLYMORPH);    
    ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cant polymorph in ox map.")); 
    return false; 
}
Edited by Morphe
Link to comment
Share on other sites

OFF: wth, why would you do that?? i can't imagine someone playing on a server where the owner make him to be his dog :||

 

ON: if you still want to have 0 player or to play only you and your zoophilic friends you can do it via quest, you don't need c++

when login with pc.get_map_index() == 113 begin
	pc.polymorph()
end

when logout with pc.get_map_index() == 113 begin
	pc.remove_polymorph()
end
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.