madtoyz 2 Posted August 12, 2013 function script Henshin { set @sr,1; specialeffect2 EF_HEAL; specialeffect2 EF_POTION_BERSERK; specialeffect2 "LK_BERSERK",1; unittalk getcharid(3),"Henshin!!"; disguise 1785; percentheal 100,0; sleep2 10000; undisguise; set @sr,0; end;} im i correct do the sepcialeffect2 for specialeffect2 "LK_BERSERK",1; ? Quote Share this post Link to post Share on other sites
0 xienne15 5 Posted August 12, 2013 (edited) function script Henshin { set @sr,1; specialeffect2 EF_HEAL; specialeffect2 EF_POTION_BERSERK; unittalk getcharid(3),"Henshin!!"; disguise 1785; percentheal 100,0; sleep2 10000; undisguise; set @sr,0; end;} ya..when use this, player will disguiese then hp will restore 100% back,. and i want add some new effect in this function,when player disguise + hp restore 100%. player recieve BERSERK skill 10second/until dead. function script Henshin { set @sr,1; specialeffect2 EF_HEAL; specialeffect2 EF_POTION_BERSERK; unittalk getcharid(3),"Henshin!!"; disguise 1785; //will make the player berserk for 10 seconds. specialeffect2 SC_BERSERK; sc_start SC_BERSERK,10000,1; percentheal 100,0; sleep2 10000; undisguise; set @sr,0; end;} Edited August 12, 2013 by xienne15 1 madtoyz reacted to this Quote Share this post Link to post Share on other sites
0 xienne15 5 Posted August 12, 2013 function script Henshin { set @sr,1; specialeffect2 EF_HEAL; specialeffect2 EF_POTION_BERSERK; specialeffect2 "LK_BERSERK",1; unittalk getcharid(3),"Henshin!!"; disguise 1785; percentheal 100,0; sleep2 10000; undisguise; set @sr,0; end;} im i correct do the sepcialeffect2 for specialeffect2 "LK_BERSERK",1; ? /wiki/Specialeffect2 Perform the item heal effect on the running NPC. specialeffect 7; Perform the item heal effect on the running NPC, but only visible to the attached player. specialeffect 7, SELF; Perform the item heal effect on the running NPC, but onlyvisible to party members of the player attached, excluding the player. specialeffect 7, PARTY_WOS; Quote Share this post Link to post Share on other sites
0 madtoyz 2 Posted August 12, 2013 thats mean correct right ? specialeffect for skill BERSERK. Quote Share this post Link to post Share on other sites
0 xienne15 5 Posted August 12, 2013 (edited) thats mean correct right ? specialeffect for skill BERSERK. Do you want only the effect? or the effect that includes the status of berserk? If you want just the effect, this would work. specialeffect2 368; //Make the berserk effect(visual only)on the player.specialeffect 368; //Make the berserk effect(visual only)on the NPC. Edited August 12, 2013 by xienne15 Quote Share this post Link to post Share on other sites
0 madtoyz 2 Posted August 12, 2013 thats mean correct right ? specialeffect for skill BERSERK. Do you want only the effect? or the effect that includes the status of berserk? If you want just the effect, this would work. specialeffect2 368; //Make the berserk effect(visual only)on the player.specialeffect 368; //Make the berserk effect(visual only)on the NPC. When player "Henshin" (hp will 100% after disguise become monster) and will automatic use Berserk skill until died or until period of time around 10second Quote Share this post Link to post Share on other sites
0 xienne15 5 Posted August 12, 2013 thats mean correct right ? specialeffect for skill BERSERK. Do you want only the effect? or the effect that includes the status of berserk? If you want just the effect, this would work. specialeffect2 368; //Make the berserk effect(visual only)on the player.specialeffect 368; //Make the berserk effect(visual only)on the NPC. When player "Henshin" (hp will 100% after disguise become monster) and will automatic use Berserk skill until died or until period of time around 10second You mean you want the player to use the skill Berserk until he dies? Quote Share this post Link to post Share on other sites
0 madtoyz 2 Posted August 12, 2013 function script Henshin { set @sr,1; specialeffect2 EF_HEAL; specialeffect2 EF_POTION_BERSERK; unittalk getcharid(3),"Henshin!!"; disguise 1785; percentheal 100,0; sleep2 10000; undisguise; set @sr,0; end;} ya..when use this, player will disguiese then hp will restore 100% back,. and i want add some new effect in this function,when player disguise + hp restore 100%. player recieve BERSERK skill 10second/until dead. Quote Share this post Link to post Share on other sites
0 madtoyz 2 Posted August 12, 2013 thanks xienne15 Quote Share this post Link to post Share on other sites
0 xienne15 5 Posted August 12, 2013 thanks xienne15 Have fun~ Quote Share this post Link to post Share on other sites
im i correct do the sepcialeffect2 for specialeffect2 "LK_BERSERK",1; ?
Share this post
Link to post
Share on other sites