* Fixed @doom and @doommap spamming packets for the visual effect on invoker unnecessarily over whole map and server respectively. The effect is now displayed on each killed character (bugreport:871, since r311).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14475 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
ca78ed6181
commit
35e99e93a8
@ -1,5 +1,7 @@
|
||||
Date Added
|
||||
|
||||
2010/11/20
|
||||
* Fixed @doom and @doommap spamming packets for the visual effect on invoker unnecessarily over whole map and server respectively. The effect is now displayed on each killed character (bugreport:871, since r311). [Ai4rei]
|
||||
2010/11/19
|
||||
* Various VC6-related fixes and tweaks. [Ai4rei]
|
||||
- Fixed a typo in VC6 project files, that prevented login-server from compiling (bugreport:4061, since r12727).
|
||||
|
@ -3479,7 +3479,6 @@ int atcommand_doom(const int fd, struct map_session_data* sd, const char* comman
|
||||
struct s_mapiterator* iter;
|
||||
|
||||
nullpo_retr(-1, sd);
|
||||
clif_specialeffect(&sd->bl,450,ALL_SAMEMAP);
|
||||
|
||||
iter = mapit_getallusers();
|
||||
for( pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter) )
|
||||
@ -3487,6 +3486,7 @@ int atcommand_doom(const int fd, struct map_session_data* sd, const char* comman
|
||||
if (pl_sd->fd != fd && pc_isGM(sd) >= pc_isGM(pl_sd))
|
||||
{
|
||||
status_kill(&pl_sd->bl);
|
||||
clif_specialeffect(&pl_sd->bl,450,AREA);
|
||||
clif_displaymessage(pl_sd->fd, msg_txt(61)); // The holy messenger has given judgement.
|
||||
}
|
||||
}
|
||||
@ -3506,7 +3506,6 @@ int atcommand_doommap(const int fd, struct map_session_data* sd, const char* com
|
||||
struct s_mapiterator* iter;
|
||||
|
||||
nullpo_retr(-1, sd);
|
||||
clif_specialeffect(&sd->bl,450,ALL_CLIENT);
|
||||
|
||||
iter = mapit_getallusers();
|
||||
for( pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter) )
|
||||
@ -3514,6 +3513,7 @@ int atcommand_doommap(const int fd, struct map_session_data* sd, const char* com
|
||||
if (pl_sd->fd != fd && sd->bl.m == pl_sd->bl.m && pc_isGM(sd) >= pc_isGM(pl_sd))
|
||||
{
|
||||
status_kill(&pl_sd->bl);
|
||||
clif_specialeffect(&pl_sd->bl,450,AREA);
|
||||
clif_displaymessage(pl_sd->fd, msg_txt(61)); // The holy messenger has given judgement.
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user