AnnieRuru
~~Cute~Cute~Scripter~~
- Messages
- 1,677
- Points
- 0
- Location
- your next door ~
- Discord
- AnnieRuru#1609
- Github
- AnnieRuru
- Emulator
- Client Version
- 2019-05-30aRagexeRE
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 rep
up Dastgir's post in this topic
because I copy paste most of his stuffs
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 rep
because I copy paste most of his stuffs
1.0 - plugin
- use the Charm: true flag, credit to Dastgir
- use a player variable trick to prevent duplicate the item
--- because if run status_calc_pc before the memset into NULL, the item data is not clear, thus can duplicate items
1.1 - plugin
- added Charm_Stack: true flag, credit to Litro and Kong for the idea
- however it always run the status_calc_pc even if the player still having the item in the inventory
1.2 - plugin
- fix the errors only
1.3 - plugin
- update to latest revision
- add nochams mapflag to deny giving item bonus
1.4 - plugin
- fix memory leak when do multiple `@loadnpc`
1.5 - plugin
- fix warning shown on linux compiler
- add OnEquipScript and OnUnequipScript support
1.6 - plugin
- fix it run status_calc_pc on every charms pickup and drop
- fix OnEquipScript doesn't run when player login
- fix nullpo, it wasn't needed at all
- use the Charm: true flag, credit to Dastgir
- use a player variable trick to prevent duplicate the item
--- because if run status_calc_pc before the memset into NULL, the item data is not clear, thus can duplicate items
1.1 - plugin
- added Charm_Stack: true flag, credit to Litro and Kong for the idea
- however it always run the status_calc_pc even if the player still having the item in the inventory
1.2 - plugin
- fix the errors only
1.3 - plugin
- update to latest revision
- add nochams mapflag to deny giving item bonus
1.4 - plugin
- fix memory leak when do multiple `@loadnpc`
1.5 - plugin
- fix warning shown on linux compiler
- add OnEquipScript and OnUnequipScript support
1.6 - plugin
- fix it run status_calc_pc on every charms pickup and drop
- fix OnEquipScript doesn't run when player login
- fix nullpo, it wasn't needed at all
Last edited by a moderator:
