Download: 1.6 plugin
tested with
{
Id: 909
AegisName: "Jellopy"
Name: "Jellopy"
Buy: 6
Weight: 10
BuyingStore: true
Charm: true
// Charm_Stack: true
Script: <" bonus bStr, 10000; ">
OnEquipScript: <"
sc_start4 SC_ENDURE,60000,10,0,0,1;
hateffect HAT_EF_BOTTOM_BLOODYLUST, true;
">
OnUnequipScript: <"
sc_end SC_ENDURE;
hateffect HAT_EF_BOTTOM_BLOODYLUST, false;
">
// OnRentalStartScript: <" dispbottom "rent start"; ">
// OnRentalEndScript: <" dispbottom "rent end"; ">
},
just having Jellopy inside inventory will get bonus
Remember: it has to use IT_ETC type item, which has been default to type 3 if you didn't specify
and also "Charm: true" flag
if added the "Charm_Stack: true" flag, the charms will stack
- if the flag is false (default), having 10 same charms will give bonus 10 times, because they are separate items
- if the flag is true, having 10 same charms will only give bonus once, because they are stack together
version 1.3 onwards, added nocharms mapflag http://herc.ws/board/topic/15219-modification-to-noitem-plugin/
to disable charms bonuses given in certain maps
prontera mapflag nocharms
disable all charms from taking effect on the map
prontera mapflag nocharms 909
prontera mapflag nocharms Jellopy
disable only this 'Jellopy' charm from giving bonus
version 1.5 onwards, added OnEquipScript and OnUnequipScript support
now you can gives permanent SC_ENDURE bonus like eddga card like effect
or gives hateffect bonus like the example shown
credit to digitalhamster
in case you guys forgotten, I fixed digitalhamster's patch on eathena forum 4 years ago
and the one in rathena also credited my name
and if you like this plugin, remember to also repup Dastgir's post in this topic
because I copy paste most of his stuffs