- Protection for mercenary scrolls. (Don't consume it if you already have a mercenary).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13162 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
2fdb259e9e
commit
c67c8f6184
@ -3140,6 +3140,9 @@ int pc_isUseitem(struct map_session_data *sd,int n)
|
||||
break;
|
||||
}
|
||||
|
||||
if( nameid >= 12153 && nameid <= 12182 && sd->md != NULL )
|
||||
return 0; // Mercenary Scrolls
|
||||
|
||||
//added item_noequip.txt items check by Maya&[Lupus]
|
||||
if (
|
||||
(map[sd->bl.m].flag.pvp && item->flag.no_equip&1) || // PVP
|
||||
|
Loading…
x
Reference in New Issue
Block a user