Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/31/19 in all areas

  1. you need to edit 2 place in that place the first one for when entry is edited, the second one is when new entry created, capped into 8000 (80%) for SC_FREEZE, better use SC_FREEZE instead 1 for comparison, so it will human readable for (auto &it : effect) { if (it.sc == sc && it.flag == flag) { if (sc == SC_FREEZE) it.rate = cap_value(it.rate + rate, -10000, 8000); else it.rate = cap_value(it.rate + rate, -10000, 10000); it.arrow_rate += arrow_rate; it.duration = umax(it.duration, duration); return; } } struct s_addeffect entry = {}; if (rate < -10000 || rate > 10000) ShowWarning("pc_bonus_addeff: Item bonus rate %d exceeds -10000~10000 range, capping.\n", rate); entry.sc = sc; if (sc == SC_FREEZE) entry.rate = cap_value(rate, -10000, 8000); else entry.rate = cap_value(rate, -10000, 10000); entry.arrow_rate = arrow_rate; entry.flag = flag; entry.duration = duration; effect.push_back(entry);
    2 points
  2. Version 1.0.6

    4606 downloads

    Extended Vending 2.0 Made in Git Hash: '042b88623bf549b88ba619991aaa186d45f7f998' Description Yet another version of Extended Vending, this one works in actual rA c++. It has a few fixes, including vending tax only working with Zeny as currency. What is new? I tried to improve this amazing mod adding a new feature: Vending Report (Mailbox). Basically... whenever you buy items to a vendor, he receive a report that who bough,what items, how many and total profit of them. You can disable this feature through conf/feature, or If you want to disable it for a specific player you must set the permanent variable called NOVREPORT (by a NPC/Bindatcmd/Idk) For < 2015-05-13 Clients Since old mailbox has 300 characters less than RoDex, I decided to take off items name and amount. So only will send 'who bought' and 'total profit'. Feel free to Donate If you want to support me.
    Free
    1 point
  3. Well his way looks like he changes the actually chance to 1-80% mine just makes it if your rate is anything above 80% itll only return 80% just like the hercules script I didnt even test it though
    1 point
  4. I could see how entry.sc = sc; if (sc == 1) entry.rate = cap_value(rate, -10000, 80000); else entry.rate = cap_value(rate, -10000, 10000); entry.skill_id = skill_id; could work thanks
    1 point
  5. https://github.com/zackdreaver/ROenglishRE
    1 point
  6. make an entry for your robe item in data\luafiles514\lua files\transparentItem\transparentItem.lub
    1 point
  7. I dont know but you can try this entry.sc = sc; entry.rate = cap_value(rate, -10000, 10000); entry.skill_id = skill_id; entry.target = target; entry.duration = duration; if (rate >= 8000 && sc == 1) rate = 8000; maybe like this if ((rate >= 8000) && (sc == 1)) rate = 8000; And you might need to place it higher like so struct s_addeffectonskill entry = {}; if ((rate >= 8000) && (sc == 1)) rate = 8000; if (rate < -10000 || rate > 10000) ShowWarning("pc_bonus_addeff_onskill: Item bonus rate %d exceeds -10000~10000 range, capping.\n", rate); Im not really sure which effect freeze is but if its the same as status.c then its probably 1
    1 point
  8. for map you can set it in data\luafiles514\lua files\navigation\navi_map_krpri.lub
    1 point
×
×
  • Create New...