Jump to content

Search the Community

Showing results for tags 'magic'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Bulletin Centre
    • Community News
    • Repository News
    • Ragnarok News
  • Hercules Development Centre
    • Development Discussion
    • Suggestions
    • Development Centre Archives
  • Support & Releases
    • General Server Support
    • Database
    • Scripting
    • Source
    • Plugin
    • Client-Side
    • Graphic Enhancements
    • Other Support & Releases
  • Hercules Community
    • General Discussion
    • Projects
    • Employment
    • Server Advertisement
    • Arts & Writings
    • Off Topic
  • 3CeAM Centre
    • News and Development
    • Community
  • International Communities
    • Filipino Community
    • Portuguese Community
    • Spanish Community
    • Other Communities

Categories

  • Client Resources
  • Graphic Resources
    • Sprites & Palettes
    • Maps & Textures
    • Other Graphics
  • Server Resources
    • Server Managers / Editors Releases
    • Script Releases
    • Source Modifications
    • Plugins
    • Pre-Compiled Server
  • Web Resources

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Discord


Skype


IRC Nickname


Website URL


Location:


Interests


Github

Found 1 result

  1. Do you remember a long time ago in eAthena when Magic Rod used to only activate when you are being bolted? Do you miss this behavior? Well, now you can have it that way. Here's how! Step 1: Go to src\map\skill.c and find the following lines: case SA_MAGICROD: clif->skill_nodamage(src,src,SA_MAGICROD,skill_lv,1); sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)); break; Comment the second line so it looks like this: case SA_MAGICROD: //clif->skill_nodamage(src,src,SA_MAGICROD,skill_lv,1); sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)); break; Step 2: Still in skill.c, find the following code: #endif /* MAGIC_REFLECTION_TYPE */ } if(sc && sc->data[SC_MAGICROD] && src == dsrc) { int sp = skill->get_sp(skill_id,skill_lv); dmg.damage = dmg.damage2 = 0; dmg.dmg_lv = ATK_MISS; //This will prevent skill additional effect from taking effect. [Skotlex] sp = sp * sc->data[SC_MAGICROD]->val2 / 100; if(skill_id == WZ_WATERBALL && skill_lv > 1) sp = sp/((skill_lv|1)*(skill_lv|1)); //Estimate SP cost of a single water-ball status->heal(bl, 0, sp, 2); } Add the following line below status->heal(bl, 0, sp, 2); so it looks like this: #endif /* MAGIC_REFLECTION_TYPE */ } if(sc && sc->data[SC_MAGICROD] && src == dsrc) { int sp = skill->get_sp(skill_id,skill_lv); dmg.damage = dmg.damage2 = 0; dmg.dmg_lv = ATK_MISS; //This will prevent skill additional effect from taking effect. [Skotlex] sp = sp * sc->data[SC_MAGICROD]->val2 / 100; if(skill_id == WZ_WATERBALL && skill_lv > 1) sp = sp/((skill_lv|1)*(skill_lv|1)); //Estimate SP cost of a single water-ball status->heal(bl, 0, sp, 2); clif->skill_nodamage(bl, bl, SA_MAGICROD, sc->data[SC_MAGICROD]->val1, 1); } Ta-da! All done. Compile your server and you're good to go. Magic rod now works like the old way! Pst to devs, maybe we can have configs for stuff like this?
×
×
  • Create New...

Important Information

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