diff options
-rw-r--r-- | npc/029-0/mobs.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/029-0/mobs.txt b/npc/029-0/mobs.txt index 73b1223ee..46287e58e 100644 --- a/npc/029-0/mobs.txt +++ b/npc/029-0/mobs.txt @@ -38,11 +38,16 @@ OnInit: end; function SFspawn { - .@am=($FIRESOFSTEAM > getarg(8) && !$@GM_OVERRIDE ? (getarg(6)*6/10) : getarg(6)); + .@am=($FIRESOFSTEAM > getarg(8) ? (getarg(6)*6/10) : getarg(6)); debugmes "Spawning %d/%d mobs on %s", .@am, getarg(6), getarg(0); areamonster(getarg(0), getarg(1), getarg(2), getarg(3), getarg(4), strmobinfo(1, getarg(5)), getarg(5), .@am, getarg(7)); + if ($FIRESOFSTEAM > getarg(8) && !$@FOS_RESPAWN[getarg(8)]) { + $@FOS_RESPAWN[getarg(8)]=true; + setmapflag(getarg(0), mf_nopenalty); + } + return; } |