Jump to content
  • 0

Emergency Call time notification


Question

Posted

Hi rathena! Where i can find the time cooldown of emergency call in source folder?

When using the skill the client will display a message about the remaining cooldown time of emergency call.

6 answers to this question

Recommended Posts

  • 0
Posted

Not that. I set the cooldown of Emergency Call  2 minutes.

When the skill is not already available and the user/guildmaster use it, there's a message that indicate the remaining time/seconds before the skill can use again.

  • 0
Posted (edited)

Not that. I set the cooldown of Emergency Call  2 minutes.

When the skill is not already available and the user/guildmaster use it, there's a message that indicate the remaining time/seconds before the skill can use again.

 

cooldown for EC setted in skill_cast_db.txt

displaying message showed in guild.c (inside function below)

// Blocks all guild skills which have a common delay time.
int guild_block_skill_end(int tid, unsigned int tick, int id, intptr_t data) {
	struct guild *g;
	char output[128];
	int idx = battle_config.guild_skills_separed_delay ? (int)data - GD_SKILLBASE : 0;

	if( (g = guild_search(id)) == NULL )
		return 1;

	if( idx < 0 || idx >= MAX_GUILDSKILL )
	{
		ShowError("guild_block_skill_end invalid skill_id %d.\n", (int)data);
		return 0;
	}

	if( tid != g->skill_block_timer[idx] )
	{
		ShowError("guild_block_skill_end %d != %d.\n", g->skill_block_timer[idx], tid);
		return 0;
	}

HERE ---------->>>>>	sprintf(output, "%s : Guild Skill %s Ready!!", g->name, skill_get_desc((int)data));
	g->skill_block_timer[idx] = INVALID_TIMER;
	clif_guild_message(g, 0, output, strlen(output));

	return 1;
}
Edited by Anacondaqq

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...