viewing paste Unknown #13659 | 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 38 39 40 41 42 43
OnBlessed:
 
                if (@blessing != 1) {
 
                        end;
 
                }
 
                       
 
                getmapxy(@mapb$, @xb, @yb, 0 );
 
                if (@mapb$ != .bless_map$) {
 
                                dispbottom "Blessing is stopped because you are not in "+.bless_mname$+".";
 
                                set @blessing,0;
 
                                end;
 
                }
 
                set @bexp,BaseLevel/@bless_boost*.bless_rate;
 
                if (countitem(.bless_item)) {
 
                                set @bexp,@bexp*2;
 
                                delitem .bless_item,1;}
 
            getexp @bexp,@bexp;
 
                specialeffect2 14;
 
                dispbottom "Gained "+@bexp*.server_rate+" Exp and J-Exp from Blessing.";
 
                deltimer "blessme::OnBlessed";
 
                addtimer 10000,"blessme::OnBlessed";
 
end;
 
}
Viewed 1103 times, submitted by Pneuma.