diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-22 16:25:18 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-22 16:25:18 +0000 |
commit | de1a9daf2f0ee1dd189011617877aabe6ce4299f (patch) | |
tree | 3afdf14fc096edeb791349946aac659728114a32 /src/map/pc.c | |
parent | e4a537f71efe8e5b9b0b79b67054be82bb3e2732 (diff) | |
download | hercules-de1a9daf2f0ee1dd189011617877aabe6ce4299f.tar.gz hercules-de1a9daf2f0ee1dd189011617877aabe6ce4299f.tar.bz2 hercules-de1a9daf2f0ee1dd189011617877aabe6ce4299f.tar.xz hercules-de1a9daf2f0ee1dd189011617877aabe6ce4299f.zip |
* Changed behavior of some guild-related code (according to X.4 tests):
- removed code that prevented Homunculus Resurrection during WoE
- logging in doesn't activate the 5 minute guild skill block anymore
- non-Urgent guild skills can now only be cast on WoE grounds during WoE
- all guild skills now have no cast delay (previously was 1 second)
- casting guild skills will now block FreeCast sages from walking
- Battle Orders and Regeneration are now instacast
- Restoration now has a 10 second cast time, reducible only by dex
- Urgent Call's cast cannot be reduced anymore (not even by items)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10807 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 68a3e4854..995bf5901 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -877,10 +877,11 @@ int pc_reg_received(struct map_session_data *sd) if (sd->status.guild_id > 0 && (g=guild_search(sd->status.guild_id)) == NULL) guild_request_info(sd->status.guild_id); else if (g && strcmp(sd->status.name,g->master) == 0) - { //Block Guild Skills to prevent logout/login reuse exploiting. [Skotlex] - guild_block_skill(sd, 300000); - //Also set the Guild Master flag. + { + // set the Guild Master flag sd->state.gmaster_flag = g; + // (optionally) block Guild Skills to prevent logout/login reuse + //guild_block_skill(sd, 300000); } status_calc_pc(sd,1); |