summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-12-09 13:00:41 -0300
committerJesusaves <cpntb1@ymail.com>2023-12-09 13:00:41 -0300
commitad8fa7f99177ced2dfbabf4678f4710ce7a35362 (patch)
tree7b93664a0f5c07a0d9e7775b308ef0bef3de7a89 /npc
parentefbc210f817347446982b24ad11bbdeddfc237cd (diff)
downloadserverdata-ad8fa7f99177ced2dfbabf4678f4710ce7a35362.tar.gz
serverdata-ad8fa7f99177ced2dfbabf4678f4710ce7a35362.tar.bz2
serverdata-ad8fa7f99177ced2dfbabf4678f4710ce7a35362.tar.xz
serverdata-ad8fa7f99177ced2dfbabf4678f4710ce7a35362.zip
Minor fixes proposed by server console, and sell stuff at Beatrice
Diffstat (limited to 'npc')
-rw-r--r--npc/003-0/mainquest.txt4
-rw-r--r--npc/003-13/arnea.txt3
-rw-r--r--npc/031-5/beatrice.txt5
3 files changed, 10 insertions, 2 deletions
diff --git a/npc/003-0/mainquest.txt b/npc/003-0/mainquest.txt
index 28f49a892..1a8a97ac7 100644
--- a/npc/003-0/mainquest.txt
+++ b/npc/003-0/mainquest.txt
@@ -52,6 +52,7 @@ OnBegin:
Hp: 4211
Attack: [198, 214]
*/
+ .@REF = .ASSASSIN;
setunitdata(.@REF, UDT_MAXHP, 4750);
setunitdata(.@REF, UDT_HP, 4750);
setunitdata(.@REF, UDT_ATKMIN, 150);
@@ -81,7 +82,7 @@ OnTimer20000:
OnTimer60000:
.@n$=instance_npcname(.name$);
- unittalk(.ASSASSIN, ("Tsc...! I'll need reinforcements!"));
+ unittalk(.ASSASSIN, ("Tch...! I'll need reinforcements!"));
end;
OnTimer65000:
@@ -98,6 +99,7 @@ OnTimer82000:
.@n$=instance_npcname(.name$);
unittalk(.ASSASSIN, ("ENEEEEEEEEERGY BALLLLLLL!"));
getmapxy(.@m$, .@x, .@y, UNITTYPE_MOB, .ASSASSIN);
+ sleep(180); // Just enough time to notice, or 1 tile movement
.@REF=monster(.@m$, .@x, .@y, "Energy Ball", EnergyBall, 1);
// Nerf the monster, be careful, it has a powerful skill!
diff --git a/npc/003-13/arnea.txt b/npc/003-13/arnea.txt
index 4dfc59182..83b1dcb62 100644
--- a/npc/003-13/arnea.txt
+++ b/npc/003-13/arnea.txt
@@ -6,6 +6,9 @@
// Arena for Duels and PVP (temporary map)
003-13,29,29,0 script Arnea#003-13 NPC_ELF_F,{
+ // Safeguard (mostly redundant because default, but this scope wants it)
+ if (!'UDTf)
+ 'UDTf = 0;
/*
// FIXME
warp "003-10", 22, 62;
diff --git a/npc/031-5/beatrice.txt b/npc/031-5/beatrice.txt
index 2c99443db..8c0e85d24 100644
--- a/npc/031-5/beatrice.txt
+++ b/npc/031-5/beatrice.txt
@@ -73,7 +73,7 @@ L_Seller:
next;
goto L_Cont;
}
- debugmes "Ratio %s", .@mb$;
+ //debugmes "Ratio %s", .@mb$;
.@pc = 1+.ratio-(.@rt); // The reverse, so it goes from 1 to ratio
.@pc *= 12; // Each 0.01% chance gives a bonus of 12 points
mesn;
@@ -112,6 +112,9 @@ OnInit:
Light Green Diamond - 1,176 pts
Amethyst - 384 pts
TL;DR From 12 to 1200 pts */
+ // Failsafe
+ sellitem SunnyCrystal, 50000;
+ sellitem MylarinDust, 15000;
// Rare equips
sellitem HeartNecklace, 7500;