Jump to content
  • 0

C++ Polymorph map ox


CM Punk

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

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
  • 0

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.