Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 03/20/19 in Posts

  1. 1 point
    AnnieRuru

    ITEML function

    Credits goes to Cydh and members at opencore Download : 1.1 script item link system, shift-click on the item to display the item description thanks to Cydh posting the topic, I also get a crack on the formula, although this is a script function ... well not a script command like cydh did ... but I guess it also gets the job done F_ITEML( <ItemID>{, <refine>{, <card1>, <card2>, <card3>, <card4>{, <item option ID>, <item option value>, <item option param> }}} ); prontera,155,180,5 script final test 1_F_MARIA,{ // getnameditem 501, getcharid(0); npctalk F_ITEML(501); npctalk F_ITEML(1201); npctalk F_ITEML(5083); npctalk F_ITEML(19543); npctalk F_ITEML(501, 0, 254, 0, getcharid(CHAR_ID_CHAR) & 65535, getcharid(CHAR_ID_CHAR) >> 16); consolemes CONSOLEMES_INFO, F_ITEML(501, 0, 254, 0, getcharid(CHAR_ID_CHAR) & 65535, getcharid(CHAR_ID_CHAR) >> 16); npctalk F_ITEML(1501, 13); npctalk F_ITEML(1501, 13, 4001, 4002, 4003, 4004); npctalk F_ITEML(5083, 0, 4001,4001,4001,4001, 1,2000,0); npctalk F_ITEML(5083, 0, 4001,4001,4001,4001, VAR_ATTPOWER,2000,0); setarray .@opt_id, VAR_MAXHPAMOUNT, VAR_MAXSPAMOUNT; setarray .@opt_value, 2000, 2000; // setarray .@opt_param, 0, 0; npctalk F_ITEML(5083, 0, 4001,4001,4001,4001, .@opt_id, .@opt_value, .@opt_param); // consolemes CONSOLEMES_INFO, F_ITEML(5083, 0, 4001,4001,4001,4001, .@opt_id, .@opt_value, .@opt_param); end; }
  2. 1 point
    Sephus

    BladeCP - An advanced CMS

    This project is now alive again, since I've received many requests for it. I've decided to make it really cheap. If you're interested, check out my patreon page and subscribe to tier Blade CP Access or above to get access to it. PM me on discord @Sxyz#0202 The cpanel includes master account system, password changes, account management and character management. Awesome tooltips for items/monsters/quests all via Laravel (the supreme php framework). However, it's still missing a donation system, online shop and monster/quest database.
  3. 1 point
    AnnieRuru

    Q> about setunitdata

    that's why I keep saying hercules mob controller is utterly broken there are 2 problems here 1. the hp and max hp is very strange thing when you want to increase the monster hp, setunitdata UDT_MAXHP 1st, then UDT_HP later when you want to decrease the monster hp, setunitdata UDT_HP 1st, then UDT_MAXHP later I'm not even sure need to fix this or not, because rathena also doing this way 2. yes, our recalculate monster status are broken https://github.com/HerculesWS/Hercules/pull/2408 prontera,155,185,5 script askdaksd 1_F_MARIA,{ .@mobgid = monster( "this", -1,-1, "--ja--", PORING, 1 ); setunitdata .@mobgid, UDT_MAXHP, 1000000; setunitdata .@mobgid, UDT_HP, 1000000; setunitdata .@mobgid, UDT_LEVEL, 99; end; }
  4. 1 point
    banhelba2019

    custom card code

    can be done easily enough just by switching in status.c ctrl + f , find SC_AUTOBESERK look for these st->max_hp>>2 change them to this st->max_hp*0.75 now autobeserk applies at 75% hp ok to remove the toggle, im not sure off the top of my head but i dont see why not so using this you need to: make a new SC_CARDEFFECT just copy impositio manus for straight ATK or keep is like provoke but without the defense reduction now you just gotta figure out how to make it a passive instead of toggled
  5. 1 point
    AnnieRuru

    custom card code

    no.1, my 1st impression is run status_calc_pc everytime player receive hits or healing, which will be server resources heavy OnPCStatCalcEvent already deem very resource heavy, and you want to make this heavier LOL no.2, even I want to write this for fun when player login, sd->battle_status.max_hp is 0, and can cause server crash when I changed to sd->status.max_hp, that is the player's base hp, if the player have bMaxHP bonus then it will calculate wrongly EDIT: some minor trick to calculate division by 1 instead of 0, kinda hacky no not recommend EDIT2: but if you want the bonus only at certain HP threshold like only activate below 15% hp, then it might be more ... practical
×
×
  • Create New...

Important Information

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