viewing paste eAmod bg ExtendedBG | C

Posted on the | Last edited on
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
eAmod:
bat_a02,269,189,0   script  #stormef1   139,{
    end;
 
OnStartStorm:
    if( $@BG_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Join") != "Tierra_EOS" ) end;
 
    sleep (rand(15,40) * 1000);
    specialeffect 622;
    specialeffect 537;
 
    goto OnStartStorm;
    end;
}
 
ExtendedBG:
ebg_eos,269,189,0   script  stormeos#1  HIDDEN_WARP_NPC,{
    end;
    
OneBGEndStorm:
    .@id[.@id] = atoi(strnpcinfo(2));
    bg_timer_stop(.uid[.@id]);
    .uid[.@id] = 0;
    end;
 
OneBGStartStorm:
    .@id = atoi(strnpcinfo(2));
    .uid[.@id] = bg_timer_start(0, 0, 20, 40);
    bg_operations_timer(.uid[.@id], EBG_OP_ADDSELF | EBG_OP_DELETE,0);
    bg_effect_timer(.uid[.@id], EF_THUNDERSTORM2);
    bg_effect_timer(.uid[.@id], EF_ACIDDEMON, 1);       //Second Effect
    end;
}
Viewed 1363 times, submitted by Dastgir.