Jump to content

AnnieRuru

Script Developers
  • Content Count

    1677
  • Joined

  • Last visited

  • Days Won

    245

Reputation Activity

  1. Upvote
    AnnieRuru got a reaction from Angelmelody in [Suggestion] Add *getequipuniqueid script cmd   
    check Haru's post
    pc->setreg(sd, script->add_str("@expire_uniqueid_lo"), (int)(sd->status.inventory[i].unique_id&0xffffffff));pc->setreg(sd, script->add_str("@expire_uniqueid_hi"), (int)((sd->status.inventory[i].unique_id>>32)&0xffffffff));
  2. Upvote
    AnnieRuru got a reaction from jTynne in Charms   
    upload version 1.1
    https://drive.google.com/file/d/0B2BM920mmHQganoxY0hTUktkUzQ/view
    please make do with the google drive, because I accidentally upload the paste without log in
     
    - 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
     
     
    and I'm going to watch star wars on the theater now
  3. Upvote
    AnnieRuru got a reaction from fourxhackd in Charms   
    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
     
  4. Upvote
    AnnieRuru got a reaction from evilpuncker in @market clone   
    1.4
    plugin
    - update to new plugin format
    - fix possible memory leak when a player input a fail message
    - change all i++ into ++i
    - no longer overwrite @reloadscript, hook to npc_reload function instead
    - since clif->messagecolor_self has been fixed, use that command in chat_joinchat_pre function
    - add configuration for player has a cart/mount/mado, the clone can display these items as well
    --- for me, it feels weird ... peco and cart is 1 thing, but warg and falcon ... ?
    - now player can choose to use their favorite color in their AFK message from a list
    - since all killmonster at/script functions looks the same, all of them hook to 1 same function
     
    1.4a
    just optimize the OPTION area
  5. Upvote
    AnnieRuru got a reaction from Legend in MaxLvExpGain   
    I saw a lot of methods on how to stop players from gaining exp after certain level
    but all of them have flaws, so I release mine, its from my google drive
     
    Download: 1.3
    plugin
     
    Full Description of what this plugin DO
    stop players gain exp through killing monsters, mvp exp, or share party experience allows to gain exp by *getexp script command or BaseExp++ / JobExp++ allows players to pay guild tax exp after they hit your capped level value if your server has heal_exp, resurrection_exp or shop_exp enable,
    they will stop gain exp from these action after they hit your cap level if the player do SA_LEVELUP ( a random skill from Hocos-Pocus ) after the cap level, they can't gain exp if it doesn't follow this list, then this is bug
     
    there is a small issue with this plugin,
    everything else in the above list will still works, don't worry, tested
     
     
  6. Upvote
    AnnieRuru got a reaction from Dduwsmitt in MaxLvExpGain   
    I saw a lot of methods on how to stop players from gaining exp after certain level
    but all of them have flaws, so I release mine, its from my google drive
     
    Download: 1.3
    plugin
     
    Full Description of what this plugin DO
    stop players gain exp through killing monsters, mvp exp, or share party experience allows to gain exp by *getexp script command or BaseExp++ / JobExp++ allows players to pay guild tax exp after they hit your capped level value if your server has heal_exp, resurrection_exp or shop_exp enable,
    they will stop gain exp from these action after they hit your cap level if the player do SA_LEVELUP ( a random skill from Hocos-Pocus ) after the cap level, they can't gain exp if it doesn't follow this list, then this is bug
     
    there is a small issue with this plugin,
    everything else in the above list will still works, don't worry, tested
     
     
  7. Upvote
    AnnieRuru got a reaction from Legend in Show error item on pc_bonus2   
    @@Dastgir
    I also noticed we can't add custom bonuses for a plugin
    are you interest in doing this?
     
    EDIT: ... hmm...
    maybe its possible with using addHookPre, and then hookStop() ...
    but seriously, this should be official instead of plugin
  8. Upvote
    AnnieRuru reacted to thor1009 in All in one Event Manager -> help me find all the event scripts !   
    https://rathena.org/board/topic/97342-quests-games-resident-evil-autoevent/
     
    This one is pretty interesting, maybe you can consider it.
  9. Upvote
    AnnieRuru got a reaction from Waken in SG Resetter !   
    /*========================================== * /resetfeel [Komurka] *------------------------------------------*/int pc_resetfeel(struct map_session_data* sd){ int i; nullpo_ret(sd); for (i=0; i<MAX_PC_FEELHATE; i++) { sd->feel_map[i].m = -1; sd->feel_map[i].index = 0; pc_setglobalreg(sd,script->add_str(pc->sg_info[i].feel_var),0); } return 0;}int pc_resethate(struct map_session_data* sd){ int i; nullpo_ret(sd); for (i = 0; i < MAX_PC_FEELHATE; i++) { sd->hate_mob[i] = -1; pc_setglobalreg(sd,script->add_str(pc->sg_info[i].hate_var),0); } return 0;}just make a script command to run these 2 functions
  10. Upvote
    AnnieRuru got a reaction from Random756 in MaxLvExpGain   
    I saw a lot of methods on how to stop players from gaining exp after certain level
    but all of them have flaws, so I release mine, its from my google drive
     
    Download: 1.3
    plugin
     
    Full Description of what this plugin DO
    stop players gain exp through killing monsters, mvp exp, or share party experience allows to gain exp by *getexp script command or BaseExp++ / JobExp++ allows players to pay guild tax exp after they hit your capped level value if your server has heal_exp, resurrection_exp or shop_exp enable,
    they will stop gain exp from these action after they hit your cap level if the player do SA_LEVELUP ( a random skill from Hocos-Pocus ) after the cap level, they can't gain exp if it doesn't follow this list, then this is bug
     
    there is a small issue with this plugin,
    everything else in the above list will still works, don't worry, tested
     
     
  11. Upvote
    AnnieRuru got a reaction from Triedge in MaxLvExpGain   
    I saw a lot of methods on how to stop players from gaining exp after certain level
    but all of them have flaws, so I release mine, its from my google drive
     
    Download: 1.3
    plugin
     
    Full Description of what this plugin DO
    stop players gain exp through killing monsters, mvp exp, or share party experience allows to gain exp by *getexp script command or BaseExp++ / JobExp++ allows players to pay guild tax exp after they hit your capped level value if your server has heal_exp, resurrection_exp or shop_exp enable,
    they will stop gain exp from these action after they hit your cap level if the player do SA_LEVELUP ( a random skill from Hocos-Pocus ) after the cap level, they can't gain exp if it doesn't follow this list, then this is bug
     
    there is a small issue with this plugin,
    everything else in the above list will still works, don't worry, tested
     
     
  12. Upvote
    AnnieRuru got a reaction from Legend in Charms   
    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
     
  13. Upvote
    AnnieRuru got a reaction from Angelmelody in About Skid Trap effect   
    no, better use pushpc script command
    prontera,155,185,5 script sdfjhsdfk FAKE_NPC,2,2,{ pushpc DIR_NORTH, 5;}if want to change player's facing direction, can try setunitdir custom script command
  14. Upvote
    AnnieRuru got a reaction from Kong in Charms   
    upload version 1.1
    https://drive.google.com/file/d/0B2BM920mmHQganoxY0hTUktkUzQ/view
    please make do with the google drive, because I accidentally upload the paste without log in
     
    - 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
     
     
    and I'm going to watch star wars on the theater now
  15. Upvote
    AnnieRuru got a reaction from Gerz in Charms   
    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
     
  16. Upvote
    AnnieRuru got a reaction from REKT in Charms   
    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
     
  17. Upvote
    AnnieRuru reacted to Kong in Charms   
    If there's 2 jellopy on hand, will it stack the effect? Can we have an option for 'stackable' or non-stackable effects?
  18. Upvote
    AnnieRuru got a reaction from Legend in All in one Event Manager -> help me find all the event scripts !   
    one of my customer sent me Euphy's Event Manager script
    and asked me to write -> join the event simply using bindatcmd @joinevent
    means, yeah, all 7 events in that script, use 1 command @joinevent will warp you to the map that event is on
    Add -> there is also a command @eventlist to tell which event going to have next, since the time is configure by GMs
    now that the script is in my hand,
    (of course I can't distribute it, but I can always reproduce it)
    I have to say that idea is very well made
    but I'm not satisfy to just limit to 7 events,
    I want to integrate ALL event scripts across eAthena/rAthena/Hercules forums
    so everyone help me search out ALL event script you can find, and post in this topic
    oh and, of course this is a free release
    I always thinking of some ways to pull rathena member to use hercules
    this project should be enough to attract some of them enough, I guess ?
    since most of the scripts I write will be hercules only script commands
  19. Upvote
    AnnieRuru got a reaction from Litro in Charms   
    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
     
  20. Upvote
    AnnieRuru got a reaction from Samuel in Charms   
    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
     
  21. Upvote
    AnnieRuru got a reaction from Easycore in Charms   
    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
     
  22. Upvote
    AnnieRuru got a reaction from Quazi in Charms   
    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
     
  23. Upvote
    AnnieRuru got a reaction from Ehwaz in Charms   
    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
     
  24. Upvote
    AnnieRuru reacted to Dastgir in Charms [Item gift effect while in inventory]   
    http://upaste.me/f8b42118100b0bab2
    ^ This is as it is version, made months ago, there's no compile warnings/errors, but dont' know if it works or not with new rev,
     
    How it works?
    Add Following to item:
    Charm: true in item_db.conf in whichever item you want.
  25. Like
    AnnieRuru got a reaction from Neffletics in OnPCStatCalcEvent   
    rathena already has this by default -> https://github.com/rathena/rathena/commit/27a0f3f
    someone else has tried to pull request in hercules, -> https://github.com/HerculesWS/Hercules/pull/351
    but it was denied, so have to leave this as plugin
    UPDATE: rathena has taken out -> https://github.com/rathena/rathena/commit/b65443d8f564175196d57ef9bc1d000a5661fbdc
     
    Download : 2.1
    plugin
     
    Tested with:
    conf\import\OnPCStatCalcEvent.conf
    both `@reloadscript` and `@reloadonpcstatcalcevent` command can reload conf\import\OnPCStatCalcEvent.conf file 
     
    `@reloadscript` = reload everything -> cause destruction on live server
    `@reloadonpcstatcalcevent` = only reload conf\import\OnPCStatCalcEvent.conf file , combine with `@reloadnpc` command -> not so destructive
    script: ( { // give GM permanent bonus ? OnPCStatCalcEvent: <" bonus bVit, 1234; end; "> }, { // for xxx event OnPCStatCalcEvent: <" skill TF_HIDING, 1; end; "> }, { // npc/custom/xxxevent.txt OnPCStatCalcEvent: <" if (@a) { bonus bStr, 1000; skill WZ_ICEWALL, 1; } end; "> }, ) script
    prontera,158,185,5 script djk2sfhsd 1_F_MARIA,{ @a ^= 1; mes "hmm..."; recalculatestat(); next; mes "what ?"; @a ^= 1; recalculatestat(); next; mes "maybe..."; @a ^= 1; recalculatestat(); next; mes "probably..."; @a ^= 1; recalculatestat(); next; mes "yeah..."; @a ^= 1; recalculatestat(); close; } yes, this actually works !!
     
    with version 2.0 onwards,
    no more spamming <npc name>::OnPCStatCalcEvent !!
    and even `*skill` working perfectly fine now
     
     
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.