diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2015-03-30 08:37:40 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2015-03-30 08:37:40 +0800 |
commit | 291883f81f44deaa1a1f045cecf74089ad883dde (patch) | |
tree | 6bcc11d64adf83d09800b0154f054be9f8ce7a5c | |
parent | 4ebd487d594581d62bb31a12942d125dc5112aa8 (diff) | |
parent | 31fded0454a53b280432410c33c8252a46f0a470 (diff) | |
download | hercules-291883f81f44deaa1a1f045cecf74089ad883dde.tar.gz hercules-291883f81f44deaa1a1f045cecf74089ad883dde.tar.bz2 hercules-291883f81f44deaa1a1f045cecf74089ad883dde.tar.xz hercules-291883f81f44deaa1a1f045cecf74089ad883dde.zip |
Merge pull request #478 from HerculesWS/emistry-patch-1
Disable binding rental items.
-rw-r--r-- | npc/custom/itembind.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/itembind.txt b/npc/custom/itembind.txt index 7d2c4ba62..d1f2b59c9 100644 --- a/npc/custom/itembind.txt +++ b/npc/custom/itembind.txt @@ -32,8 +32,8 @@ prontera,144,174,4 script Bound Items 4_M_JP_MID,{ getinventorylist(); for(.@i = 0; .@i < @inventorylist_count; .@i++) { //We only show the items that you allow to be bound - //Allows equipment (default) - if(@inventorylist_bound[.@i]) + //Allows equipment (default) or non-rental item + if( @inventorylist_bound[.@i] || @inventorylist_expire[.@i] ) continue; if(((.allowbind & 1) && (getiteminfo(@inventorylist_id[.@i],2) == (4|5))) || ((.allowbind & 2) && (getiteminfo(@inventorylist_id[.@i],2) == (0|2|11|18))) || |