diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-01-25 23:12:42 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-01-25 23:12:42 -0300 |
commit | 1112f54a00bcaff8606999623d730c8287517e3a (patch) | |
tree | 0ef08689f9b40cdb4306dcd2a3aec0d15e796671 /npc/commands | |
parent | 799907c78c0cc894229ee6eb2e14b694cb6b030d (diff) | |
download | serverdata-1112f54a00bcaff8606999623d730c8287517e3a.tar.gz serverdata-1112f54a00bcaff8606999623d730c8287517e3a.tar.bz2 serverdata-1112f54a00bcaff8606999623d730c8287517e3a.tar.xz serverdata-1112f54a00bcaff8606999623d730c8287517e3a.zip |
To estimulate cooperation: Enforce a time penalty on your own challenges.
Allow to use the toevent command anytime
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/event.txt | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt index abf585f7a..db5781d1f 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -547,17 +547,9 @@ OnEffect: // Failed for some reason - ignore } if ($EVENT$ == "Raid") { - .@id = array_find($FYRAID_OWNER, getcharid(3)); - if (.@id >= 0) { - if ($FYRAID_TIME[.@id] > gettimetick(2) && - $FYRAID_HP[.@id] > 0) { - getmapxy(@aurora_map$, @aurora_x, @aurora_y, 0); - callfunc("FYRaid_Select"); - close; - } - // Boss expired or already defeated - ignore - } - // Have not yet taken part on boss raid - ignore + getmapxy(@aurora_map$, @aurora_x, @aurora_y, 0); + callfunc("FYRaid_Select"); + close; } } |