diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-29 21:08:29 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-29 21:08:29 +0000 |
commit | 876794dee5dd2be7e2062d7901a3c982ec37a951 (patch) | |
tree | 7228e5df973365c1f756c38918342bacbd84233e | |
parent | e824dae42cae340b5f0e5a680265f0871aa13ce8 (diff) | |
download | hercules-876794dee5dd2be7e2062d7901a3c982ec37a951.tar.gz hercules-876794dee5dd2be7e2062d7901a3c982ec37a951.tar.bz2 hercules-876794dee5dd2be7e2062d7901a3c982ec37a951.tar.xz hercules-876794dee5dd2be7e2062d7901a3c982ec37a951.zip |
- Changed the HT_DETECTING method from invoking clif_changetraplook to clif_skill_setunit since in the first the client ignores the fact that it is now a trap (rendering skills like Remove Trap useless).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6386 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 3 | ||||
-rw-r--r-- | src/map/skill.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index a4eb02aa1..f1e0f3980 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/04/29
+ * Changed the HT_DETECTING method from invoking clif_changetraplook to
+ clif_skill_setunit since in the first the client ignores the fact that it
+ is now a trap (rendering skills like Remove Trap useless). [Skotlex]
* added script command skillpointcount. Returns total amount of skill
points a char has (the value returned is the same that SkillPoint would
have after invoking a skill reset) [Skotlex]
diff --git a/src/map/skill.c b/src/map/skill.c index 3ed3a90d2..ea673682d 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2416,7 +2416,9 @@ static int skill_reveal_trap( struct block_list *bl,va_list ap ) TBL_SKILL *su = (TBL_SKILL*)bl;
if (su->alive && su->group && skill_get_inf2(su->group->skill_id)&INF2_TRAP)
{ //Reveal trap.
- clif_changetraplook(bl, su->group->unit_id);
+ //Change look is not good enough, the client ignores it as an actual trap still. [Skotlex]
+ //clif_changetraplook(bl, su->group->unit_id);
+ clif_skill_setunit(su);
return 1;
}
return 0;
|