viewing paste Unknown #21621 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
6@trivia,1,2,1  script  Star#Ins        139,0,0,{
Star_Effect:
 
        initnpctimer;
        if (attachrid('aid))
                if (getcharid(0) == 'cid)
                {
                showscript "Woo-hoo!! It's a me! Mario, Yeee hoo!";
                instance_announce "[Instance Trivia] Trivia 5: 50 Seconds of the Star's Power is now yours! Enjoy it's effects while it lasts! (50 seconds)";
                sc_start SC_INVINCIBLE, 50000, 10;
OnTimer500:
                specialeffect
                soundeffect "
                initnpctimer;
                specialeffect
                soundeffect "
 
6@trivia,181,263,0      script  Star Power Up#Ins       139,0,0,{
OnTouch:
donpcevent instance_npcname("Star#Ins")+"::Star_Effect";
//      stopnpctimer;
 
OnInstanceInit:
        end;
       
OnEnable:
        initnpctimer;
        end;
 
OnTimer2000:
 
        specialeffect 381;
        initnpctimer;
        end;
}
Viewed 738 times, submitted by unknown.