Agorin 7 Posted July 30, 2017 Share Posted July 30, 2017 how can i block potions and mount/horse on war map index 110? Link to comment Share on other sites More sharing options...
ElBrujoo 4 Posted July 31, 2017 Share Posted July 31, 2017 To block potions you have to go in char_item.cpp where potions are used and add a check like this: if (ch->GetMapIndex() == 110) return false; // or something blocking the rest of code in which he makes the pot working(same thing elixirs) To block Horse as well you have to make a check like that before in the function that makes you ride the horse, maybe HorseRide (i can t look on now) To block mounts you have to add a check in your quest that calls them like this: if pc.get_map_index() == 110 then return -- or something blocking the rest of the code in which mount are called If you have problems managing it by yourself I could help you on skype-> xelbrujoox Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now