Jump to content

xG000000

Members
  • Content Count

    11
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Everything posted by xG000000

  1. I need help and assistance with these i want to apply it on my server for my worldboss ranking script but i dont know how to apply this
  2. anyone can help me with these?
  3. Great Dev and Very responsive to any of my answers. 100% Guarantee fast and reliable. looking forward on doing more business with you. thanks as always
  4. how to make 5 of charm will only work in inventory then if have 6 only 5 will work
  5. I need help with this script because it also removes the random item option of my items when putting stones. also i want to make it only 3rd slot of the item can only be enchant and it requires the Gem or Orb when adding enchant. [Card] , [Card] , [Orb] , [Empty] and an option where i can remove the orb without breaking both eqp and orb. all_enchanter (1).txt
  6. that only implies with skill damage not physical attack.
  7. it tried to limit the reflect but still exceed the max damage limit bonus. return cap_value(min(rdamage,max_damage),INT_MIN,INT_MAX); im also using stormbreaker source mod bonus bDamageLimit but when i try to make an item that will chance to deal max pyhiscal damage, it ignores the reflect of it if (sd) { for (const auto& it : sd->atkratechance) { if (it.value2 > rand() % 1000) ATK_ADDRATE(wd.damage, wd.damage2, it.value1); } but when i try it with magic attack the reflect just work fine. if (sd) { for (const auto& it : sd->matkratechance) { if (it.value2 > rand() % 1000) MATK_ADDRATE(it.value1); } TL:DR. i just want to make a damage cap on my files but looking at battle.cpp i cant make it work. I tried to change max damage in cliff.cpp but it was just visual. max damage on my server deals 2.147Billion and i just want to make it to my specific limit.
  8. can you show a simple example of the script for my reference.
  9. but i cant make it choose which slot im going to put the item option. i want it like a scroll that will give 1~10% MaxHP (or other options) to all gears including shadow gears.
  10. is there a script for scrolls that will enchant all gears including shadow gears like, I want to have a scroll that will give 1% - 10% random Max HP Percent to an item and i can choose which slot will i put it like Slot 1 to Slot 5. i dont know how to use setrandomoption as a script please help me thanks.
  11. this script give me error when i manually apply it. can you help me make it work for the latest rathena. error skill.cpp: In function ‘int64 skill_attack(int, block_list*, block_list*, block_list*, uint16, uint16, t_tick, int)’: skill.cpp:3627:44: error: request for member ‘notreflected’ in ‘*(skill_db + ((sizetype)(((long unsigned int)skill_get_index_(((int)skill_id), 0, ((const char*)(& __FUNCTION__)), ((const char*)"skill.cpp"), 3627)) * 8)))’, which is of pointer type ‘s_skill_db*’ (maybe you meant to use ‘->’ ?) if( !skill_db[skill_get_index(skill_id)].notreflected && (dmg.damage || dmg.damage2) && (type = skill_magic_reflect(src, bl, src==dsrc)) ) ^~~~~~~~~~~~ skill.cpp: In function ‘bool skill_parse_row_notreflecteddb(char**, int, int)’: skill.cpp:22617:38: error: request for member ‘notreflected’ in ‘*(skill_db + ((sizetype)(((long unsigned int)skill_get_index_(((int)skill_id), 0, ((const char*)(& __FUNCTION__)), ((const char*)"skill.cpp"), 22617)) * 8)))’, which is of pointer type ‘s_skill_db*’ (maybe you meant to use ‘->’ ?) skill_db[skill_get_index(skill_id)].notreflected = true; ^~~~~~~~~~~~ skill.cpp: In function ‘void skill_readdb()’: skill.cpp:22756:71: error: ‘MAX_SKILL_DB’ was not declared in this scope sv_readdb(dbsubpath2, "skill_not_reflected_db.txt" , ',', 1, 1, MAX_SKILL_DB, skill_parse_row_notreflecteddb); // [Cydh] ^~~~~~~~~~~~ skill.cpp:22756:71: note: suggested alternative: ‘MAX_SKILL_ID’ sv_readdb(dbsubpath2, "skill_not_reflected_db.txt" , ',', 1, 1, MAX_SKILL_DB, skill_parse_row_notreflecteddb); // [Cydh] ^~~~~~~~~~~~ MAX_SKILL_ID skill_not_reflected_db-rA.diff
×
×
  • Create New...

Important Information

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