Justapoxx Posted November 15, 2015 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 9 Reputation: 2 Joined: 10/08/15 Last Seen: November 23, 2015 Share Posted November 15, 2015 Hi, I'm extremely bad at source edits and have searched for similar requests but the closest i could find was opposite to this. https://rathena.org/board/topic/77359-enabled-sanctuaryhealpitchrestoration-on-emp/ I really want to make my emperium renewal mode (can't be healed by heal sanctuary potion pitcher etc etc) and take 1 damage per hit. I've got the 1 damage part down but I can't do the not healable part. Is there anyone that could please help me with making this modification? Thank you! Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted November 15, 2015 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted November 15, 2015 (edited) Just tested on Pre-Renewal and the Heal can be casted, but it's always 0. Edited November 15, 2015 by Haziel Quote Link to comment Share on other sites More sharing options...
0 Justapoxx Posted November 16, 2015 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 9 Reputation: 2 Joined: 10/08/15 Last Seen: November 23, 2015 Author Share Posted November 16, 2015 (edited) Yea, sorry I should have phrased my question better. By healable I meant inclusive of skills like sanctuary. I actually want to edit it such that sanctuary, potion pitcher and apple of idun heals a fixed amount on emperium. I'm looking at case UNT_SANCTUARY: etc but dont really know what to change. Thank you to whoever responds to this! **bump Edited November 15, 2015 by Justapoxx Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted November 16, 2015 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted November 16, 2015 On: case UNT_SANCTUARY: Get this fragment: #ifdef RENEWAL if( md && md->mob_id == MOBID_EMPERIUM ) break; #endif And comment the check: //#ifdef RENEWAL if( md && md->mob_id == MOBID_EMPERIUM ) break; //#endif To nullify the heal completely.If you want to put a fixed heal, then: //#ifdef RENEWAL if( md && md->mob_id == MOBID_EMPERIUM ) heal = 0; //#endif Or change the zero to whatever value you want. Quote Link to comment Share on other sites More sharing options...
0 Justapoxx Posted November 16, 2015 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 9 Reputation: 2 Joined: 10/08/15 Last Seen: November 23, 2015 Author Share Posted November 16, 2015 Thank you so much! I noticed something with potion pitcher though. case AM_POTIONPITCHER: { int j,hp = 0,sp = 0; if( dstmd && dstmd->mob_id == MOBID_EMPERIUM ) { map_freeblock_unlock(); return 1; } When I change it to case AM_POTIONPITCHER: { int j,hp = 0,sp = 0; if( dstmd && dstmd->mob_id == MOBID_EMPERIUM ) { //map_freeblock_unlock(); //return 1; hp=1; } It works but only for level 5 potion pitcher.. Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted November 16, 2015 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted November 16, 2015 (edited) Try just change to return 0. if( dstmd && dstmd->mob_id == MOBID_EMPERIUM ) { map_freeblock_unlock(); return 0; } Edited November 16, 2015 by Haziel Quote Link to comment Share on other sites More sharing options...
0 Justapoxx Posted November 16, 2015 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 9 Reputation: 2 Joined: 10/08/15 Last Seen: November 23, 2015 Author Share Posted November 16, 2015 Ok i'll try, and post back here, thanks Haziel! Quote Link to comment Share on other sites More sharing options...
0 Justapoxx Posted November 18, 2015 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 9 Reputation: 2 Joined: 10/08/15 Last Seen: November 23, 2015 Author Share Posted November 18, 2015 The above 2 didn't work Quote Link to comment Share on other sites More sharing options...
Question
Justapoxx
Hi, I'm extremely bad at source edits and have searched for similar requests but the closest i could find was opposite to this.
https://rathena.org/board/topic/77359-enabled-sanctuaryhealpitchrestoration-on-emp/
I really want to make my emperium renewal mode (can't be healed by heal sanctuary potion pitcher etc etc) and take 1 damage per hit.
I've got the 1 damage part down but I can't do the not healable part.
Is there anyone that could please help me with making this modification?
Thank you!
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.