close_btn
로그인, 회원가입후 더 많은 혜택을 누리세요 로그인 회원가입 닫기

기타 천3 새해이벤트

2017.06.11 13:31

Hacker 조회 수:147


procedure OnBowHit(uSource, uDest:integer);
begin
setmonsterlifedata(uDest,'as',getlifedata(uSource,'as'));
setmonsterlifedata(uDest,'av',getlifedata(uSource,'av'));
setmonsterlifedata(uDest,'ac',getlifedata(uSource,'ac'));
setmonsterlifedata(uDest,'db',getlifedata(uSource,'db'));
setmonsterlifedata(uDest,'dh',getlifedata(uSource,'dh'));
setmonsterlifedata(uDest,'da',getlifedata(uSource,'da'));
setmonsterlifedata(uDest,'dl',getlifedata(uSource,'dl'));
setmonsterlifedata(uDest,'ab',getlifedata(uSource,'ab'));
setmonsterlifedata(uDest,'ah',getlifedata(uSource,'ah'));
setmonsterlifedata(uDest,'aa',getlifedata(uSource,'aa'));
setmonsterlifedata(uDest,'al',getlifedata(uSource,'al'));
end;

procedure OnHit(uSource, uDest:integer);
begin

setmonsterlifedata(uDest,'as',getlifedata(uSource,'as'));
setmonsterlifedata(uDest,'av',getlifedata(uSource,'av'));
setmonsterlifedata(uDest,'ac',getlifedata(uSource,'ac'));
setmonsterlifedata(uDest,'db',getlifedata(uSource,'db'));
setmonsterlifedata(uDest,'dh',getlifedata(uSource,'dh'));
setmonsterlifedata(uDest,'da',getlifedata(uSource,'da'));
setmonsterlifedata(uDest,'dl',getlifedata(uSource,'dl'));
setmonsterlifedata(uDest,'ab',getlifedata(uSource,'ab'));
setmonsterlifedata(uDest,'ah',getlifedata(uSource,'ah'));
setmonsterlifedata(uDest,'aa',getlifedata(uSource,'aa'));
setmonsterlifedata(uDest,'al',getlifedata(uSource,'al'));
end;

procedure OnDie(uSource, uDest:integer; aRACE:integer);
var
slevel, count :integer;
cellcount, cellcount1, cellcount2, cellcount3, cellcount4, cellcount5:integer;
ran,x,y,i,sm,level,iKind, kk:integer;
item,sex:string;
begin


if getmonstername(uDest) = '福돼지' then say(uDest,'꿀꿀~복많이받으셔엉~');
if getmonstername(uDest) = '福말' then say(uDest,'으으으응나복마니바다아아아으앙');

x := Integer(StrSpilit(getmonsterxy(uDest),1,':'));
y := Integer(StrSpilit(getmonsterxy(uDest),2,':'));

for i := 0 to 3 do
begin
ran := RANDOM(4);

if ran = 0 then
begin
x := x + RANDOM(RANDOM(4));
y := y + RANDOM(RANDOM(4));
end;

if ran = 1 then
begin
x := x - RANDOM(RANDOM(4));
y := y - RANDOM(RANDOM(4));
end;

if ran = 2 then
begin
x := x + RANDOM(RANDOM(4));
y := y - RANDOM(RANDOM(4));
end;

if ran = 3 then
begin
x := x - RANDOM(RANDOM(4));
y := y + RANDOM(RANDOM(4));
end;

cellcount := random(5);
cellcount1 := random(100);
cellcount2 := random(2);
cellcount3 := random(2);
cellcount4 := random(2);
cellcount5 := random(30);

if cellcount < 1 then cellcount := 1;
if cellcount1 < 1 then cellcount1 := 1;
if cellcount2 < 1 then cellcount2 := 1;
if cellcount3 < 1 then cellcount3 := 1;
if cellcount4 < 1 then cellcount4 := 1;
if cellcount5 < 1 then cellcount5 := 1;
 
 
MonsterDropItem(uDest,'코어석',x+RANDOM(5),y+RANDOM(5),cellcount,0,0);
MonsterDropItem(uDest,'은화',x+RANDOM(5),y+RANDOM(5),cellcount1,0,0);
MonsterDropItem(uDest,'옥로환',x+RANDOM(5),y+RANDOM(5),cellcount2,0,0);
MonsterDropItem(uDest,'소환단',x+RANDOM(5),y+RANDOM(5),cellcount3,0,0);
//MonsterDropItem(uDest,'옥로환',x+RANDOM(5),y+RANDOM(5),cellcount4,0,0);
//MonsterDropItem(uDest,'은화',x+RANDOM(5),y+RANDOM(5),cellcount5,0,0);

 
 
 
sm := RANDOM(100);

if sm = 0 then level := 4;
if sm = 1 then level := 3;
if sm = 2 then level := 2;
if sm > 2 then level := RANDOM(5);

item := '';

iKind := RANDOM(300);


if RANDOM(2) = 1 then sex := '남자'
else sex := '여자';
 
count := 1;

if iKind < 111 then
begin
if RANDOM(10) = 1 then item := '버그리포트[쿠폰]'
else item := '금화';

count := 1;
end;

if iKind = 111 then begin
item := '대환단';
count := RANDOM(2) + 1;
end;

if iKind = 112 then begin
item := '천년산삼';
count := RANDOM(2) + 1;
end;

if iKind = 113 then begin
item := '태극구슬';
count := RANDOM(2) + 1;
end;


if iKind = 114 then begin
item := '여우내단';
count := RANDOM(2) + 1;
end;


if iKind = 115 then begin
item := sex + '요화포';
count := 1;
end;

if iKind = 116 then begin
item := sex + '이빨장화';
count := 1;
end;

if iKind = 117 then begin
item := '염제화령부';
count := 1;
end;

if iKind = 118 then begin
item := '낭아곤';
count := 1;
end;

if iKind = 119 then begin
item := '월광';
count := 1;
end;

if iKind = 120 then begin
item := '용광검';
count := 1;
end;

if iKind = 121 then begin
item := '금나수';
count := 1;
end;

if iKind = 122 then begin
item := '곤륜대석부';
count := 1;
end;

if iKind = 123 then begin
item := '백제무녀창';
count := 1;
end;

if iKind = 124 then begin
item := '화랑대형도';
count := 1;
end;

if iKind = 125 then begin
item := '백제역날검';
count := 1;
end;

if iKind = 126 then begin
item := '무적철장갑';
count := 1;
end;

 

if iKind = 127 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 128 then begin
item := '코어석';
count := RANDOM(10) + 1;


end;
if iKind = 129 then begin
item := '코어석';
count := RANDOM(10) + 1;


end;
if iKind = 130 then begin
item := sex + '영웅갑옷';


end;
if iKind = 131 then begin
item := '코어석';
count := RANDOM(10) + 1;


end;
if iKind = 132 then begin
item := '대환단';

end;
if iKind = 133 then begin
item := '천년산삼';

end;
if iKind = 134 then begin
item := '옥로환';

end;
if iKind = 135 then begin
item := '태극구슬';


end;
if iKind = 136 then begin
item := sex + '영웅갑박';

end;
if iKind = 137 then begin
item := sex + '영웅투구';

end;
if iKind = 138 then begin
item := sex + '영웅전투화';

end;
if iKind = 139 then begin
item := '남자황룡활복';


end;
if iKind = 140 then begin
item := '여자황룡활복';


end;
if iKind = 141 then begin
item := '남자황룡갑박';


end;
if iKind = 142 then begin
item := '여자황룡갑박';


end;
if iKind = 143 then begin
item := '여자황룡가죽신';


end;
if iKind = 144 then begin
item := '황룡검';


end;
if iKind = 145 then begin
item := '황룡장갑';


end;
if iKind = 146 then begin
item := '황룡도';


end;
if iKind = 147 then begin
item := '황룡창';


end;
if iKind = 148 then begin
item := '황룡도끼';


end;
if iKind = 149 then begin
item := '금화';


end;
if iKind = 150 then begin
item := '여우내단';


end;
if iKind = 151 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 152 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 153 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 154 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 155 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 156 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 157 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 158 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 159 then begin
item := '코어석';
count := RANDOM(10) + 1;

end;
if iKind = 160 then begin
item := '소환단';

end;
if iKind = 161 then begin
item := '소환단';

end;
if iKind = 162 then begin
item := '소환단';

end;
if iKind = 163 then begin
item := '남자흑룡갑옷';


end;
if iKind = 164 then begin
item := '여자흑룡갑옷';


end;
if iKind = 165 then begin
item := '남자백룡갑옷';


end;
if iKind = 166 then begin
item := '여자백룡갑옷';


end;
           if iKind = 167 then begin
               item := '남자천잠갑박';              
            end;
            if iKind = 168 then begin
               item := '여자천잠갑박';              
            end;
            if iKind = 169 then begin
               item := '묵철도';              
            end;
            if iKind = 170 then begin
               item := '옥로환';               
            end;
            if iKind = 171 then begin
               item := '옥로환';                
            end;
            if iKind = 172 then begin
               item := '옥로환';                
            end;
            if iKind = 173 then begin
               item := '옥로환';                
            end;
            if iKind = 174 then begin
               item := '옥로환';               
            end;
            if iKind = 175 then begin
               item := '금화';             
            end;
              if iKind = 176 then begin
               item := '금화';                  
            end;
              if iKind = 177 then begin
               item := '금화';                 
            end;
              if iKind = 178 then begin
               item := '금화';                
            end;
              if iKind = 179 then begin
               item := '금화';                
            end;
              if iKind = 180 then begin
               item := '남자천잠사';               
            end;
              if iKind = 181 then begin
               item := '여자천잠사';              
            end;
              if iKind = 182 then begin
               item := '남자제왕갑';              
            end;
              if iKind = 183 then begin
               item := '여자제왕갑';               
            end;
              if iKind = 184 then begin
               item := '생약';               
            end;

              if iKind = 185 then begin
               item := '패왕검';               
            end;
              if iKind = 186 then begin
               item := '제왕퇴';               
            end;
              if iKind = 187 then begin
               item := '천운보도';               
            end;
              if iKind = 188 then begin
               item := '청월천검';               
            end;
              if iKind = 189 then begin
               item := '천룡월부';               
            end;
              if iKind = 190 then begin
               item := '응조수';               
            end;
              if iKind = 191 then begin
               item := '백골마봉';               
            end;
              if iKind = 192 then begin
               item := '파편장갑';               
            end;
              if iKind = 193 then begin
               item := '용광검';               
            end;
              if iKind = 194 then begin
               item := '월광';               
            end;
              if iKind = 195 then begin
               item := '남자요화포';               
            end;
              if iKind = 196 then begin
               item := '여자요화포';               
            end;
              if iKind = 197 then begin
               item := '호국신검';               
            end;
              if iKind = 198 then begin
               item := '남자마인갑박';               
            end;
              if iKind = 199 then begin
               item := '여자마인갑박';               
            end;
              if iKind = 200 then begin
               item := '남자마인전투화';               
            end;
              if iKind = 201 then begin
               item := '여자마인전투화';               
            end;
              if iKind = 202 then begin
               item := '남자태극도포';               
            end;
              if iKind = 203 then begin
               item := '여자태극도포';               
            end;
              if iKind = 204 then begin
               item := '여자마인삿갓';               
            end;
              if iKind = 205 then begin
               item := '남자마인삿갓';               
            end;
              if iKind = 206 then begin
               item := '남자태극도포';               
            end;
              if iKind = 207 then begin
               item := '여자태극도포';               
            end;
              if iKind = 208 then begin
item := '코어석';
count := RANDOM(10) + 1;      
            end;
              if iKind = 209 then begin
item := '코어석';
count := RANDOM(10) + 1;          
            end;
              if iKind = 210 then begin
item := '코어석';
count := RANDOM(10) + 1;         
            end;
              if iKind = 211 then begin
item := '코어석';
count := RANDOM(10) + 1;          
            end;
              if iKind = 212 then begin
item := '코어석';
count := RANDOM(10) + 1;           
            end;
              if iKind = 213 then begin
item := '코어석';
count := RANDOM(10) + 1;             
            end;
              if iKind = 214 then begin
             if RANDOM(5) = 1 then item := '진주파편'
             else item := '코어석';               
            end;
              if iKind = 215 then begin
             if RANDOM(5) = 1 then item := '호박파편'
             else item := '코어석';                
            end;
              if iKind = 216 then begin
             if RANDOM(5) = 1 then item := '수정파편'
             else item := '코어석';              
            end;
              if iKind = 217 then begin
             if RANDOM(5) = 1 then item := '비취파편'
             else item := '코어석';              
            end;
              if iKind = 218 then begin
               item := '태극장갑';               
            end;
              if iKind = 219 then begin
               item := '태극일검';               
            end;
              if iKind = 220 then begin
               item := '태극월도';               
            end;
              if iKind = 221 then begin
               item := '태극신창';               
            end;
              if iKind = 222 then begin
               item := '태극대부';               
            end;
              if iKind = 223 then begin
item := '코어석';
count := RANDOM(10) + 1;           
            end;
              if iKind = 224 then begin
item := '코어석';
count := RANDOM(10) + 1;              
            end;
              if iKind = 225 then begin
               item := '금화';               
            end;
              if iKind = 226 then begin
               item := '남자우중객도포';               
            end;
              if iKind = 227 then begin
               item := '여자우중객도포';               
            end;
              if iKind = 228 then begin
               item := '남자우중객삿갓';               
            end;
              if iKind = 229 then begin
               item := '여자우중객삿갓';               
            end;
              if iKind = 230 then begin
kk := RANDOM(10);
               if kk = 0 then item := '남자우중객도포고급';       
               if kk > 0 then item := '남자우중객도포';               
            end;
              if iKind = 231 then begin
kk := RANDOM(10);
            if kk = 0 then item := '여자우중객도포고급';  
            if kk > 0 then item := '여자우중객도포';               
            end;
              if iKind = 232 then begin
kk := RANDOM(10);
           if kk = 0 then item := '남자우중객삿갓고급';     
           if kk > 0 then item := '남자우중객삿갓';               
            end;
              if iKind = 233 then begin
kk := RANDOM(10);
               if kk = 0 then item := '여자우중객삿갓고급';   
               if kk > 0 then item := '여자우중객삿갓';               
            end;
 
 
 
if item = '' then
begin
 item := '금화';
level := 0;
 
end;

if count < 1 then count := 1;
 

end;

slevel := 1;
if RANDOM(3) = 1 then slevel := 2;
if RANDOM(10) = 1 then slevel := 3;
if RANDOM(50) = 1 then slevel := 4;

MonsterDropItem(uDest,item,x,y,count,level,slevel);  

end;

 

번호 제목 글쓴이 날짜 조회 수
공지 소스자료는 직접 올려주세요 게임존 2017.06.06 582
176 건즈 클랜마크 SQL file 로린그 2018.05.05 18
175 [건즈] 1.5 네임태그 file 로린그 2018.05.04 20
174 [건즈] 3초리스폰 file 로린그 2018.05.04 29
173 [건즈] 이로건즈 DB file 로린그 2018.05.04 35
172 [건즈] 웹페이지(채금) file 로린그 2018.05.04 30
171 [건즈] 웹페 별 소스 file 로린그 2018.05.04 30
170 크로노스 구축 매무리 난뭘까 2018.05.04 302
169 크로노스 구축2 난뭘까 2018.05.04 265
168 크로노스 구축1 난뭘까 2018.05.04 342
167 검은사막 커스터 마이징 비주류 남 캐릭터 file 군곤격노 2018.04.26 117
166 스카이림 남자 cme 공유 file 군곤격노 2018.04.26 1581
165 하이파이브 팩 DB 보는싸이트 계란탁 2018.04.24 246
164 몹 베노미 스크립트 [2] 제이로드 2018.03.30 178
163 WOW 기본 명령어 진정 즐기는자 2018.03.18 117
162 WOW Phase Mask 진정 즐기는자 2018.03.17 32
161 그룹원 이모탈 소스 및 스크립 [1] file 영주의서 2018.02.22 306
160 [어둠의전설] 8.240 염색 번호 file as7877 2018.02.03 287
159 [어둠의전설 8.240] 아이템 우클릭해서 옵션보이는방법 file as7877 2018.02.03 503
158 [어둠의전설] 저같은 뉴비들을위한.. @귀환 스크립트 팁. [1] as7877 2018.02.02 316
157 [어둠의전설] 8.240 크래셔/데빌크래셔 입니다. [2] as7877 2018.02.02 286
156 [어둠의전설] 8.240 캐쉬옷 본섭화입니다. as7877 2018.02.02 360
155 8.240 날개 본섭화 입니다. as7877 2018.02.02 209
154 테런 DB 아이피 한번에 수정하는 sql AR 2018.01.25 106
153 검은사막 위치 커마 file 경찰 2018.01.25 252
152 [검은사막] 마을코드입니다 종니스트 2018.01.24 349
151 검은사막 금수량 커마 file 경찰 2018.01.24 153
150 장식아이템 Undine 2018.01.22 171
149 fbs 간단 반동제어 file 서러운환경 2018.01.22 134
148 검은사막 커마 소스 모음 [6] file 아비 2018.01.14 605
147 커마 닥나 소스 [2] file 아비 2018.01.10 92
146 [어둠의전설] 메카닉 무기 및 장비 [1] as7877 2018.01.09 291
145 [어둠의전설] 흑갑 스크립트입니다. [3] as7877 2018.01.08 360
144 프메 아이템소스코드집 file 보스이루 2017.12.30 590
143 성능 및 스타일 향상에 도움이 되는 28가지 ASP 팁 처벌 2017.12.01 205
142 Windows 2012 RDS 구축(Session 호스트 시나리오) 구성도 출처: http://yongdalc.tistory.com/entry/WIndows-2012-RDS-Session-시나리오-구성-방법 [IT 정보 공유 룰루~] file 처벌 2017.12.01 91
141 튜토리얼 소스 file 2MB 2017.11.02 289
140 테런 계정생성부분 [1] 파도풀 2017.09.11 269
139 뮤오리진 프리서버 구축설명서 [13] file 프리스타일001 2017.06.19 5185
138 천년3 호위무사 Hacker 2017.06.11 257
137 천년3 호연한방 [1] Hacker 2017.06.11 162
» 천3 새해이벤트 Hacker 2017.06.11 147
135 천년3 서역마인허상 스크립트 Hacker 2017.06.11 131
134 천년 환전상인 스크립트(고급) Hacker 2017.06.08 166
133 천년 판매스크립트 Hacker 2017.06.08 158
132 천년 돌피하기 스크립트 Hacker 2017.06.08 93
131 천년 대련스크립트 Hacker 2017.06.08 90
130 천년 추석스크립트 Hacker 2017.06.08 139
129 천년 이벤트자동스크립트 Hacker 2017.06.08 121
128 천년 선물상자 스크립트 Hacker 2017.06.08 142
127 뮤..한글 에디터 [2] file 공신 2017.06.08 575