Fresh prince Posted March 3, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Share Posted March 3, 2013 Hi rathena, I need help on the following skills please. 1. Thorn trap (genetic): * I wanted to null the effect on party mates/ guild mates, only on enemies. * I wanted for the skill icon to disappear once you stepped on it. * I wanted it to have at least have 5 seconds when trapped then icon disappear. 2. Heaven's drive (high wizard): * I wanted when casted, the enemies on hide/cloak will be revealed. 3. Demonstration (creator): * I wanted to null the effect on party mates/ guild mates, only on enemies. Thanks you very much! bump Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted March 6, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Author Share Posted March 6, 2013 bump! Quote Link to comment Share on other sites More sharing options...
Lighta Posted March 6, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted March 6, 2013 look more like a request then support, I'll give support anyway : thorn trap : search UNT_THORNS_TRAP on skill.c::skill_unit_onplace_timer-you can see duration is define with "int sec = skill_get_time2(sg->skill_id, sg->skill_lv);"so go in skill_cast_db.txt and change duration2 for your desired one (5s)- unit should already have no effect on allly etc but only affect ennemy, if not it's buggy but you can add a "battle_check_target" om that unit handler to force it to tread ennemy if you wish. -icon refer to status, don't you have the icone only when you step on it ??you could send to client that status is finish even if it's not true just to make icone disapear with "clif_status_change(bl,SI_THORNTRAP,0,0,0,0,0);"heaven drive:-already the case, since once you get hit you'll be uncloack unhide, or are you implying cloaking exceed ? on skill.c::skill_additional_effect (wich mean our attack went trough target) add a "case WZ_HEAVENDRIVE:" and stop the status you want with "status_change_end(src, typeIwannaStop, INVALID_TIMER);"demonstration:-the unit seem already to be set to ennemy only for me, but you could add a "battle_check_target" just like we did for UNT_THORNS_TRAP on UNT_DEMONSTRATION. case UNT_TATAMIGAESHI: case UNT_DEMONSTRATION: + if(battle_check_target(ss,bl,BCT_ENEMY) > 0) skill_attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0); break; oops that exemple not perfect cause it affect UNT_TATAMIGAESHI too, but it was just to show battle_check_target exemple on a unit. this should cover all what u ask. Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted March 6, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Author Share Posted March 6, 2013 (edited) Thanks a lot Mr. Lighta! you're like an angel! Thanks again! Solved. Edited March 7, 2013 by Fresh prince Quote Link to comment Share on other sites More sharing options...
Question
Fresh prince
Hi rathena,
I need help on the following skills please.
1. Thorn trap (genetic):
* I wanted to null the effect on party mates/ guild mates, only on enemies.
* I wanted for the skill icon to disappear once you stepped on it.
* I wanted it to have at least have 5 seconds when trapped then icon disappear.
2. Heaven's drive (high wizard):
* I wanted when casted, the enemies on hide/cloak will be revealed.
3. Demonstration (creator):
* I wanted to null the effect on party mates/ guild mates, only on enemies.
Thanks you very much!
bump
Link to comment
Share on other sites
3 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.