Jump to content

  •  

Photo

specialeffect2 "LK_BERSERK",1;


Best Answer xienne15, 12 August 2013 - 04:02 PM

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;}
Go to the full post


  • Please log in to reply
9 replies to this topic

#1 madtoyz

madtoyz

    Advanced Member

  • Members
  • PipPipPip
  • 174 posts

Posted 12 August 2013 - 02:30 PM

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; ?



#2 xienne15

xienne15

    Advanced Member

  • Members
  • PipPipPip
  • 130 posts

Posted 12 August 2013 - 02:54 PM

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 only
    visible to party members of the player attached, excluding the player.
specialeffect 7, PARTY_WOS;

 

 


#3 madtoyz

madtoyz

    Advanced Member

  • Members
  • PipPipPip
  • 174 posts

Posted 12 August 2013 - 02:59 PM

thats mean correct right ? specialeffect for skill BERSERK.



#4 xienne15

xienne15

    Advanced Member

  • Members
  • PipPipPip
  • 130 posts

Posted 12 August 2013 - 03:03 PM

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 by xienne15, 12 August 2013 - 03:07 PM.


#5 madtoyz

madtoyz

    Advanced Member

  • Members
  • PipPipPip
  • 174 posts

Posted 12 August 2013 - 03:17 PM

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



#6 xienne15

xienne15

    Advanced Member

  • Members
  • PipPipPip
  • 130 posts

Posted 12 August 2013 - 03:20 PM

 

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?



#7 madtoyz

madtoyz

    Advanced Member

  • Members
  • PipPipPip
  • 174 posts

Posted 12 August 2013 - 03:53 PM

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.



#8 xienne15

xienne15

    Advanced Member

  • Members
  • PipPipPip
  • 130 posts

Posted 12 August 2013 - 04:02 PM   Best Answer

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 by xienne15, 12 August 2013 - 04:18 PM.


#9 madtoyz

madtoyz

    Advanced Member

  • Members
  • PipPipPip
  • 174 posts

Posted 12 August 2013 - 04:10 PM

thanks xienne15



#10 xienne15

xienne15

    Advanced Member

  • Members
  • PipPipPip
  • 130 posts

Posted 12 August 2013 - 04:12 PM

thanks xienne15

Have fun~






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users


This topic has been visited by 51 user(s)