summaryrefslogtreecommitdiff
path: root/npc/042-10
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-02 03:20:29 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-02 03:20:29 -0300
commit78a36343504d42a6af3d5421ead1b1448fa737e0 (patch)
tree5437588d7e21b93e62d4585834aa265d6946467b /npc/042-10
parentcb94e5c89da9505eea2cdd2627ce2989a838f8ff (diff)
downloadserverdata-78a36343504d42a6af3d5421ead1b1448fa737e0.tar.gz
serverdata-78a36343504d42a6af3d5421ead1b1448fa737e0.tar.bz2
serverdata-78a36343504d42a6af3d5421ead1b1448fa737e0.tar.xz
serverdata-78a36343504d42a6af3d5421ead1b1448fa737e0.zip
If it doesn't spawns ANYTHING, it'll be boring and easy.
Spawn at least Magic Goblins, even if it'll be easy.
Diffstat (limited to 'npc/042-10')
-rw-r--r--npc/042-10/ctrl.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/npc/042-10/ctrl.txt b/npc/042-10/ctrl.txt
index c9553c264..e50df4c47 100644
--- a/npc/042-10/ctrl.txt
+++ b/npc/042-10/ctrl.txt
@@ -83,7 +83,6 @@ L_NoAccessBlock:
////////////////////////////////////////////////////////////////////
-// TODO: Catazuli info monument
// KatazuliInfo( )
function script KatazuliInfo {
mes ".:: Magical Seal ::.";
@@ -132,6 +131,7 @@ function script KatazuliCore {
// Initialize local variables
.@start=getarg(0);
.@id=getarg(1);
+ .@g=getcharid(2);
// User cooldown
if (.@start && @katazuli >= gettimetick(2))
@@ -202,6 +202,11 @@ function script KatazuliCore {
// TODO: Spawn monsters, drop Dark Petal
// (Probably spawn Dark Rose Field)
+ // PS. Every monster in this floor will drop them
+ getmapxy(.@m$, .@x, .@y, 0);
+ .@x+=any(-3,-2,-1,1,2,3);
+ .@y+=any(-3,-2,-1,1,2,3);
+ monster(.@m$, .@x, .@y, strmobinfo(1, MagicGoblin), MagicGoblin, rand2(3,6));
// Take away some HP and MP, but do not make you stand
percentheal -1, -1;
@@ -504,7 +509,6 @@ OnInit:
///////////////////////////////////////////////////////////////////
// THIS CONTROLS EVERYTHING ELSE ON THIS ROOM
-// TODO: Spawn monsters
042-10,0,0,0 script #Kamelot4210 NPC_HIDDEN,{
end;
@@ -512,7 +516,7 @@ OnKillMob:
if (!playerattached())
goto OnRespawn;
// Handle Dark Petal
- // TODO: How MX/PC should affect drop rates?
+ // XXX: How MX/PC should affect drop rates?
// I imagine a higher MX will increase DR.... (Right now, level 100 = +10% DR)
.@r=rand2(1000);
if (.@r < 100+$KAMELOT_MX[.@g]) {