diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-08 11:14:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-08 11:14:30 -0300 |
commit | 5b50db747dbd7e16ff86bb9da705774e3eafe31a (patch) | |
tree | 7dd2028eca08a6c6ee835cff99e69240ea8db4e4 /npc/functions/util.txt | |
parent | 65728aaef808178a837c5587c74f120a010a3069 (diff) | |
download | serverdata-5b50db747dbd7e16ff86bb9da705774e3eafe31a.tar.gz serverdata-5b50db747dbd7e16ff86bb9da705774e3eafe31a.tar.bz2 serverdata-5b50db747dbd7e16ff86bb9da705774e3eafe31a.tar.xz serverdata-5b50db747dbd7e16ff86bb9da705774e3eafe31a.zip |
Completing Frostia quests makes you a friend of the elves, even if you're not elf.
Configure respawn and mob density for 026-4 and 026-5.
It happens shortly before the takeover, it is escalonated for realism.
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r-- | npc/functions/util.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 77a1c073a..e9d521a1d 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -20,6 +20,9 @@ function script DelItemFromEveryPlayer { query_sql("DELETE FROM `auction` WHERE `nameid`="+getarg(0)); consolewarn "Deleting item %d", getarg(0); + // TODO: Delete from guild storage as well if SQL fail to? + // I'm not sure there's a function for that D: + // Del items which SQL can't reach .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC); for (.@i = 0; .@i < .@c; .@i++) { @@ -1210,7 +1213,7 @@ function script NewcomerEXPDROPUP { // Frostia Util // frally( ) function script frally { - return (Class == Elven); // or something + return (Class == Elven || reputation("Frostia") == 100); } // Easter Egg |