Jump to content
  • Create New...
  • 0

How to "lock" a skill




i want to "lock" some skills when a particular event starts.

I have an event called "Tanaka Event" that spawns a lot of "Pirate Tanaka", they have 1 HP so you can kill them with every attack.

Many players uses a 2° character, like the Archer to kill 6-7 monsters with 1 skill.

So i hope there is a way to "lock" their skills during this event and then "unlock" them at the end.

I think it is like the "Guild War" if you are spectating.





Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Yes it is possible, if you dont have game +40k you must create new channel port with defined in cofig:


skill_disable: 1


Or if you have game +40k and you have source , open char_skill.cpp and find function

bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaster)

and add before

 if (false == CanUseSkill(dwVnum))

This code

if(quest::CQuestManager::instance().GetEventFlag("tanaka_event") && GM_PLAYER == GetGMLevel()){
		ChatPacket(CHAT_TYPE_INFO, "Skills is disabled on Tanaka Event!");
		return false;

and compile game, and if you starting tanaka event you must enable block skill using command /e tanaka_event 1

  • Love 1
Link to comment
Share on other sites

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
  • Recently Browsing   0 members

    • No registered users viewing this page.

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.