Skip to content

Commit 502446e

Browse files
authored
Add the corporeal beast (#951)
* Add corporeal beasts lair * Add support for combat multi-targets within a radius * Fix broken npc magic combat stats * Add aggressive retarget hunt mode * Add corporeal beast
1 parent 7e54451 commit 502446e

35 files changed

Lines changed: 556 additions & 36 deletions

File tree

cache/src/main/kotlin/world/gregs/voidps/cache/definition/Params.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ object Params {
105105
const val LOCATIONS = 5104
106106
const val LOWER = 5105
107107
const val MAGE = 5106
108-
const val MAGIC = 5107
109108
const val MATERIAL = 5108
110109
const val MAX_HEAL = 5109
111110
const val MAX_HIT_CRUSH = 5110
@@ -435,7 +434,6 @@ object Params {
435434
"locations" -> LOCATIONS
436435
"lower" -> LOWER
437436
"mage" -> MAGE
438-
"magic" -> MAGIC
439437
"material" -> MATERIAL
440438
"max_heal" -> MAX_HEAL
441439
"max_hit_crush" -> MAX_HIT_CRUSH

data/area/fremennik_province/rellekka/ice_strykewyrm_cave/ice_strykewyrm_cave.npcs.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ allowed_under = true
77
att = 225
88
str = 225
99
def = 175
10-
magic = 250
10+
mage = 250
1111
attack_bonus = 100
1212
slayer_level = 93
1313
slayer_xp = 300.0

data/area/kandarin/feldip_hills/feldip_hills.npcs.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ allowed_under = true
9090
att = 150
9191
str = 150
9292
def = 100
93-
magic = 150
93+
mage = 150
9494
attack_bonus = 60
9595
slayer_level = 73
9696
slayer_xp = 110.0

data/area/kharidian_desert/al_kharid/desert_strykewyrm/desert_strykewyrm.npcs.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ att = 175
88
str = 175
99
def = 125
1010
range = 200
11-
magic = 150
11+
mage = 150
1212
attack_bonus = 80
1313
slayer_level = 77
1414
slayer_xp = 120.0

data/area/kharidian_desert/pollnivneach/dungeon/pollninveach_dungeon.npcs.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ slayer_xp = 1000.0
107107
att = 200
108108
str = 200
109109
def = 175
110-
magic = 210
110+
mage = 210
111111
height = 10
112112
categories = ["basilisk"]
113113
hunt_mode = "aggressive"

data/area/misthalin/lumbridge/swamp/chasm_of_tears/guthix_temple/guthix_temple.npcs.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ hitpoints = 3260
2121
att = 255
2222
str = 255
2323
def = 150
24-
magic = 255
24+
mage = 255
2525
range = 255
2626
slayer_xp = 1065.0
2727
height = 60

data/area/morytania/mort_myre_swamp/mort_myre_swamp.npcs.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ hitpoints = 400
165165
att = 55
166166
str = 60
167167
def = 55
168-
magic = 40
168+
mage = 40
169169
range = 1
170170
slayer_xp = 40.0
171171
combat_def = "vampyre"
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[corporeal_beast_stomp]
2+
id = 10496
3+
4+
[corporeal_beast_slap]
5+
id = 10057
6+
7+
[corporeal_beast_swipe]
8+
id = 10058
9+
10+
[corporeal_beast_magic]
11+
id = 10410
12+
13+
[corporeal_beast_defend]
14+
id = 10386
15+
16+
[corporeal_beast_death]
17+
id = 10385
18+
19+
[dark_core_take_off]
20+
id = 10393
21+
22+
[dark_core_death]
23+
id = 10391
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[corporeal_beasts_lair]
2+
x = [2972, 3001]
3+
y = [4370, 4397]
4+
level = 2
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[corporeal_beast]
2+
attack_speed = 4
3+
retreat_range = 16
4+
defend_anim = "corporeal_beast_defend"
5+
defend_sound = "corporeal_beast_defend"
6+
death_anim = "corporeal_beast_death"
7+
death_sound = "corporeal_beast_death"
8+
9+
[corporeal_beast.melee]
10+
chance = 40
11+
range = 1
12+
anim = "corporeal_beast_swipe"
13+
target_hit = { offense = "crush", max = 330 }
14+
15+
[corporeal_beast.magic]
16+
chance = 20
17+
range = 10
18+
anim = "corporeal_beast_magic"
19+
projectile_origin = "centre"
20+
projectile = "corporeal_beast_magic_travel"
21+
target_hit = { offense = "magic", max = 650 }
22+
23+
[corporeal_beast.prayer_drain]
24+
chance = 10
25+
range = 10
26+
anim = "corporeal_beast_magic"
27+
projectile_origin = "centre"
28+
projectile = "corporeal_beast_stat_travel"
29+
target_hit = { offense = "magic", max = 550 }
30+
impact_drain = { skill = "prayer", min = 1, max = 2 }
31+
32+
[corporeal_beast.magic_drain]
33+
clone = "corporeal_beast.prayer_drain"
34+
impact_drain = { skill = "magic", min = 1, max = 2 }
35+
36+
[corporeal_beast.magic_area]
37+
chance = 20
38+
range = 10
39+
anim = "corporeal_beast_magic"
40+
41+
[dark_energy_core]
42+
attack_speed = 2
43+
death_anim = "dark_core_death"
44+
45+
[dark_energy_core.attack]
46+
chance = 10
47+
range = 3
48+
multi_radius = 3
49+
target_hit = { offense = "damage", min = 10, max = 130 }
50+
impact_message = "The dark core creature steals some life from you for its master."
51+
52+
[dark_energy_core.hop]
53+
range = 20

0 commit comments

Comments
 (0)