Giant Fly Wings are now blocked on noteleport maps and duels.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11804 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
L0ne_W0lf 2007-11-25 21:44:34 +00:00
parent afd2b17f63
commit 69b5d5a8c0
2 changed files with 6 additions and 4 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/11/25
* Rev. 11804 Giant Fly Wings are now blocked on noteleport maps and duels. [L0ne_W0lf]
2007/11/24 2007/11/24
* Fixed a crash when Slim Pitcher is cast * Fixed a crash when Slim Pitcher is cast
* Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483) * Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483)

View File

@ -3012,13 +3012,13 @@ int pc_isUseitem(struct map_session_data *sd,int n)
//Anodyne (can't use Anodyne's Endure at GVG) //Anodyne (can't use Anodyne's Endure at GVG)
if(nameid == 605 && map_flag_gvg(sd->bl.m)) if(nameid == 605 && map_flag_gvg(sd->bl.m))
return 0; return 0;
//Fly Wing (can't use at GVG and when noteleport flag is on) //Fly Wing/Giant Fly Wing (can't use at GVG and when noteleport flag is on)
if(nameid == 601 && (map[sd->bl.m].flag.noteleport || map_flag_gvg(sd->bl.m))) { if((nameid == 601 || nameid == 12212) && (map[sd->bl.m].flag.noteleport || map_flag_gvg(sd->bl.m))) {
clif_skill_teleportmessage(sd,0); clif_skill_teleportmessage(sd,0);
return 0; return 0;
} }
//Fly Wing/Butterfly Wing (can't use when you in duel) [LuzZza] //Fly Wing/Butterfly Wing/Giant Fly Wing (can't use when you in duel) [LuzZza]
if((nameid == 601 || nameid == 602) && (!battle_config.duel_allow_teleport && sd->duel_group)) { if((nameid == 601 || nameid == 602 || nameid == 12212) && (!battle_config.duel_allow_teleport && sd->duel_group)) {
clif_displaymessage(sd->fd, "Duel: Can't use this item in duel."); clif_displaymessage(sd->fd, "Duel: Can't use this item in duel.");
return 0; return 0;
} }