Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions v2/floors/events-location.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
// an events.location object may represent one of the following
{
"type": "circle",
"coords": [12058, 13661],
"radius": 250
},
{
"type": "polyline",
"start": [12418, 12867],
"coords": [
[12418, 12867],
[12410, 12900],
[12410, 12934]
]
},
{
"type": "polygon",
"coords": [
[11358, 13107],
[11270, 13233],
[11288, 13367],
[11424, 13407],
[11588, 13477]
]
}
]
13 changes: 13 additions & 0 deletions v2/floors/events.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Defeat the shadow behemoth.",
"id": "31CEBA08-E44D-472F-81B0-7143D73797F5",
"level": 15,
// event type according to http://wiki.guildwars2.com/wiki/Dynamic_event#Event_indicators
"event_type": "boss",
"flags": [
"group_event"
],
"location": {
// location object
}
}
19 changes: 19 additions & 0 deletions v2/floors/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,24 @@
"id" : 526
}
},
"events": {
"31CEBA08-E44D-472F-81B0-7143D73797F5": {
"name": "Defeat the shadow behemoth.",
"id": "31CEBA08-E44D-472F-81B0-7143D73797F5",
"level": 15,
"event_type": "boss",
"flags": [
"group_event"
],
"location": {
"type": "circle",
"center": [
12058,
13661
],
"radius": 250
}
}
},
"id" : 26
}