Created
March 3, 2016 03:17
-
-
Save secretdataz/1a721d81e240c83abcc5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- script cofresdeltesoro -1,0,5{ | |
end; | |
OnNPCKillEvent: | |
if (killedrid == 1732) { | |
set .@var, rand(1,10); // Use scope variable instead when dealing with "use once and forget" variable like this. [secretdataz] | |
switch (.@var) { | |
case 1: | |
getitem 909,1; | |
break; | |
case 2: | |
getitem 7126,1; | |
break; | |
case 3: | |
getitem 7300,1; | |
break; | |
case 4: | |
getitem 909,1; | |
break; | |
case 5: | |
getitem 2610,1; | |
break; | |
case 6: | |
getitem 728,1; | |
break; | |
case 7: | |
getitem 909,1; | |
break; | |
case 8: | |
getitem 909,1; | |
break; | |
case 9: | |
getitem 7126,1; | |
break; | |
case 10: | |
atcommand "@monster 1474"; | |
break; | |
} | |
} // End if | |
end; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment