Kuroe
New member
- Messages
- 23
- Points
- 0
- Github
- Kuroes
- Emulator
Hello. I found this src edit on rathena by anacondaqq
It notifies the guild master and members if the guild skill is ready to use and if not it'll display the time in minutes:seconds before it is available again.
May i request a plugin form of this thats working on the latest version of herc?
Thank you in advance
// 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;
}
It notifies the guild master and members if the guild skill is ready to use and if not it'll display the time in minutes:seconds before it is available again.
May i request a plugin form of this thats working on the latest version of herc?
Thank you in advance
Last edited by a moderator: