Dr.Evil fixed some parts of his Umbala script

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7182 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Playtester 2006-06-15 18:50:29 +00:00
parent 553c87f39e
commit 490ac96198
2 changed files with 40 additions and 39 deletions

View File

@ -37,6 +37,7 @@ Musashiden
Date Added Date Added
====== ======
06/15 06/15
* Dr.Evil fixed some parts of his Umbala script [Playtester]
* Updated the color codes on the Juno Guides mini map illustrations. [Musashiden] * Updated the color codes on the Juno Guides mini map illustrations. [Musashiden]
* Juno Update Process. 50% complete. [Musashiden] * Juno Update Process. 50% complete. [Musashiden]
* Fixed an exploit in the Comodo gambling script. [Lupus] * Fixed an exploit in the Comodo gambling script. [Lupus]

View File

@ -982,9 +982,9 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "^3377FF15x Horn^000000 for the ritual."; mes "^3377FF15x Horn^000000 for the ritual.";
} }
else { else {
set @need,947; set .@need,947;
set @amount,15; set .@amount,15;
set @gain,993; set .@gain,993;
} }
break; break;
case 2: case 2:
@ -996,9 +996,9 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "^3377FF20x Snails Shell^000000 for the ritual."; mes "^3377FF20x Snails Shell^000000 for the ritual.";
} }
else { else {
set @need,946; set .@need,946;
set @amount,20; set .@amount,20;
set @gain,991; set .@gain,991;
} }
break; break;
case 3: case 3:
@ -1011,9 +1011,9 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "for the ritual."; mes "for the ritual.";
} }
else { else {
set @need,904; set .@need,904;
set @amount,20; set .@amount,20;
set @gain,990; set .@gain,990;
} }
break; break;
case 4: case 4:
@ -1026,13 +1026,13 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "to complete the ritual."; mes "to complete the ritual.";
} }
else { else {
set @need,1013; set .@need,1013;
set @amount,25; set .@amount,25;
set @gain,992; set .@gain,992;
} }
break; break;
} }
if(@need == 0) { if(.@need == 0) {
next; next;
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "Once you've prepared these"; mes "Once you've prepared these";
@ -1048,15 +1048,15 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "after all, choose 0."; mes "after all, choose 0.";
while(1) { while(1) {
next; next;
input @num; input .@num;
if(@num<=0) { if(.@num<=0) {
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "If you don't wish my help at the moment,"; mes "If you don't wish my help at the moment,";
mes "that's fine. When you do, please come"; mes "that's fine. When you do, please come";
mes "by again."; mes "by again.";
close; close;
} }
if(@num>9) { if(.@num>9) {
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "You must choose a number between"; mes "You must choose a number between";
mes "1 and 9. It is very important that"; mes "1 and 9. It is very important that";
@ -1067,7 +1067,7 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
break; break;
} }
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
switch(@need) { switch(.@need) {
case 947: mes "The horn begins to vibrate."; break; case 947: mes "The horn begins to vibrate."; break;
case 904: mes "The tail begins to vibrate."; break; case 904: mes "The tail begins to vibrate."; break;
default: mes "The shell begins to vibrate."; break; default: mes "The shell begins to vibrate."; break;
@ -1084,8 +1084,8 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "Damtsuha Ombabaraka! Unba! Shi!"; mes "Damtsuha Ombabaraka! Unba! Shi!";
mes "Sukatamba Aburumba! Umba! Shi!"; mes "Sukatamba Aburumba! Umba! Shi!";
next; next;
delitem @need,@amount; delitem .@need,.@amount;
getitem @gain,1; getitem .@gain,1;
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "There. Your inner power has converted"; mes "There. Your inner power has converted";
mes "these objects from nature into"; mes "these objects from nature into";
@ -1108,8 +1108,8 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "component essence."; mes "component essence.";
} }
else { else {
set @need,997; set .@need,997;
set @gain,993; set .@gain,993;
} }
break; break;
case 2: case 2:
@ -1121,8 +1121,8 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "component essence."; mes "component essence.";
} }
else { else {
set @need,995; set .@need,995;
set @gain,991; set .@gain,991;
} }
break; break;
case 3: case 3:
@ -1134,8 +1134,8 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "component essence."; mes "component essence.";
} }
else { else {
set @need,994; set .@need,994;
set @gain,990; set .@gain,990;
} }
break; break;
case 4: case 4:
@ -1147,13 +1147,13 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "component essence."; mes "component essence.";
} }
else { else {
set @need,996; set .@need,996;
set @gain,992; set .@gain,992;
} }
break; break;
} }
next; next;
if(@need == 0) { if(.@need == 0) {
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "Once you have the necessary stone,"; mes "Once you have the necessary stone,";
mes "please come back and visit me"; mes "please come back and visit me";
@ -1161,7 +1161,7 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
close; close;
} }
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
switch(@need) { switch(.@need) {
case 997: mes "I will dismantle your earth crystal"; break; case 997: mes "I will dismantle your earth crystal"; break;
case 995: mes "I will dismantle your frozen crystal"; break; case 995: mes "I will dismantle your frozen crystal"; break;
case 994: mes "I will dismantle your heart of flame"; break; case 994: mes "I will dismantle your heart of flame"; break;
@ -1173,15 +1173,15 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "stone, choose 0."; mes "stone, choose 0.";
while(1) { while(1) {
next; next;
input @num; input .@num;
if(@num<=0) { if(.@num<=0) {
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "If you don't wish my help at the moment,"; mes "If you don't wish my help at the moment,";
mes "that's fine. When you do, please come"; mes "that's fine. When you do, please come";
mes "by again."; mes "by again.";
close; close;
} }
if(@num>9) { if(.@num>9) {
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "You must choose a number between"; mes "You must choose a number between";
mes "1 and 9. It is very important that"; mes "1 and 9. It is very important that";
@ -1191,11 +1191,11 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
} }
break; break;
} }
set @num,@num+rand(5); set .@num,.@num+rand(5);
if(@num>10) if(.@num>10)
set @num,@num-10; set .@num,.@num-10;
if(@num<5) if(.@num<5)
set @num,@num+5; set .@num,.@num+5;
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "Please place the elemental stone"; mes "Please place the elemental stone";
mes "inside this holy circle. I will chant a"; mes "inside this holy circle. I will chant a";
@ -1209,8 +1209,8 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "Anburaka Taburaka Taburakan! Unba Ra!"; mes "Anburaka Taburaka Taburakan! Unba Ra!";
mes "Onbaruzu Zan Kata! Unba Ka!"; mes "Onbaruzu Zan Kata! Unba Ka!";
next; next;
delitem @need,1; delitem .@need,1;
getitem @gain,@num; getitem .@gain,.@num;
mes "[Putsuchiritan]"; mes "[Putsuchiritan]";
mes "The elemental stone has been"; mes "The elemental stone has been";
mes "dismantled into its natural"; mes "dismantled into its natural";