it's the same like how you edit other custom equipments / items..
edit the 'loc' column in your item_db.txt
refer this..
Custom_Items
Alternate way for newbie to get starting...
find any headgear card....and edit the item ID / Effect...
another way....
bonus bDelayRate,( -30 / isequippedcnt (4403) );
no matter how many Kiel Card the users equipped....it will remained as 30% reducted delay..
@miczter
what is not working....show screenshot....show the screenshot before you add that setting and after you add the setting
use @mi check the rate again....
when you create a function outside a npc.......
it will look like this..
if it's inside the npc.....it will look like this...
there are different between the funtion's "header" that create in / outside of npc...
@Ryokem
as you can see inside the script..
the function is defined inside the NPC....thus...it will only work on this npc...
and with rAthena improvement...
you can simply call a function like this..
// rAthena
dispell();
// eAthena
callfunc "displell";
you can call the function as long as it's declared somewhere in or outside of the script before it's executed...
http://pastebin.com/raw.php?i=nLZYu9Tj
the "dispell" function that can be access by any NPC...because it's declared globally...
or
http://pastebin.com/raw.php?i=13hhxUdp
the "dispell" function that can only be access by this NPC...because it's not declared globally...but declared inside the npc only.
since i am not as godly as Annie .....
so.....i just follow your description and write a simple 1....
http://pastebin.com/raw.php?i=ksBQMPyy
Edit :
erm.. please change all
@Poring_Points
into
#Poring_Points
i forget to change that after i test it in test server....
@Maynard
work fine..and tested in my test server ....revision 16806
make sure you have provide the correct setting for the map you going to restrict the items..
yes...it will check for equipments also....
in the default script...
Zone 3 and Zone 4 both have example to restrict the amount of Helm of Sun ( ItemID#5022 )
make sure the value for 'Amount' is 0 if you want to disable them to bring the item into the map you want.
@himynameis
rename ALL
Emistry_Shop
in other script to another name..
http://rathena.org/board/topic/53320-%E3%80%90-emistry-%C2%A9-2012-%E3%80%91e-scripts-collection/page__st__80#entry84948
@Annie
perhap he is using somekind of Faction system....like this..
http://rathena.org/board/topic/64816-beta-2-faction-system/page__hl__faction
*strcharinfo(4);
return faction name.
getmapmobs($@Map$)
change to
mobcount($@Map$,strnpcinfo(3)+"::OnMobKill"
btw..are you sure you posted the correct / edited script ????
i cant fine any
while( mobcount($@Map$) == -1 )
anyway the solution will be the same as above.