Skip to content

Commit 6a7b73e

Browse files
authored
Add a large amount of combat definitions, anims and drops (#769)
* Start adding npc combat definitions * Add remaining combat data * Start adding drop tables * Start adding drop tables * More drop tables * Add some basic range and mage attacks * Add lots of combat anims and sounds * Add more drop tables * Add all remaining drop tables from dump * Remove println * Fix tests
1 parent 22750a8 commit 6a7b73e

File tree

427 files changed

+14475
-1025
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

427 files changed

+14475
-1025
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[pheasant_drop_table]
2+
type = "all"
3+
drops = [
4+
{ id = "raw_pheasant" },
5+
]
Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,44 @@
11
[freaky_forester]
22
id = 2458
33
wander_radius = 3
4-
examine = "He's at home in the forests."
4+
examine = "He's at home in the forests."
5+
6+
[pheasant_1_tail]
7+
id = 4277
8+
hitpoints = 50
9+
att = 3
10+
str = 3
11+
def = 3
12+
style = "stab"
13+
max_hit_melee = 10
14+
respawn_delay = 5
15+
drop_table = "pheasant"
16+
examine = "A brightly coloured game bird."
17+
18+
[pheasant_1_tail_2]
19+
id = 7445
20+
clone = "pheasant_1_tail"
21+
22+
[pheasant_2_tails]
23+
id = 7446
24+
clone = "pheasant_1_tail"
25+
26+
[pheasant_2_tails_2]
27+
id = 13246
28+
clone = "pheasant_1_tail"
29+
30+
[pheasant_3_tails]
31+
id = 13247
32+
clone = "pheasant_1_tail"
33+
34+
[pheasant_3_tails_2]
35+
id = 13248
36+
clone = "pheasant_1_tail"
37+
38+
[pheasant_4_tails]
39+
id = 13249
40+
clone = "pheasant_1_tail"
41+
42+
[pheasant_4_tails_2]
43+
id = 13250
44+
clone = "pheasant_1_tail"
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[zamorak_wizard_drop_table]
2+
type = "all"
3+
drops = [
4+
{ id = "bones" },
5+
{ table = "zamorak_wizard_secondary" },
6+
]
7+
8+
[zamorak_wizard_secondary]
9+
roll = 128
10+
drops = [
11+
{ id = "zamorak_robe_top", chance = 3 },
12+
{ id = "zamorak_robe_bottom", chance = 4 },
13+
{ id = "air_battlestaff", chance = 2 },
14+
{ id = "water_battlestaff", chance = 3 },
15+
{ id = "earth_battlestaff", chance = 3 },
16+
{ id = "fire_battlestaff" },
17+
{ id = "air_rune", amount = 60, chance = 3 },
18+
{ id = "air_rune", amount = 189, chance = 2 },
19+
{ id = "water_rune", amount = 42, chance = 3 },
20+
{ id = "water_rune", amount = 126, chance = 2 },
21+
{ id = "earth_rune", amount = 79, chance = 3 },
22+
{ id = "earth_rune", amount = 86, chance = 4 },
23+
{ id = "earth_rune", amount = 107, chance = 2 },
24+
{ id = "fire_rune", amount = 51, chance = 3 },
25+
{ id = "fire_rune", amount = 180, chance = 2 },
26+
{ id = "cosmic_rune", amount = 25 },
27+
{ id = "nature_rune", amount = 30, chance = 7 },
28+
{ id = "law_rune", amount = 9 },
29+
{ id = "death_rune", amount = 45, chance = 6 },
30+
{ id = "blood_rune", amount = 8, chance = 12 },
31+
{ id = "coins", amount = 77, chance = 17 },
32+
{ id = "coins", amount = 89, chance = 25 },
33+
{ id = "coins", amount = 240, chance = 3 },
34+
]
35+
36+
[saradomin_wizard_drop_table]
37+
type = "all"
38+
drops = [
39+
{ id = "bones" },
40+
{ table = "saradomin_wizard_secondary" },
41+
]
42+
43+
[saradomin_wizard_secondary]
44+
roll = 128
45+
drops = [
46+
{ id = "air_battlestaff", chance = 2 },
47+
{ id = "water_battlestaff", chance = 3 },
48+
{ id = "earth_battlestaff", chance = 3 },
49+
{ id = "fire_battlestaff" },
50+
{ id = "air_rune", amount = 60, chance = 3 },
51+
{ id = "air_rune", amount = 189, chance = 2 },
52+
{ id = "water_rune", amount = 42, chance = 3 },
53+
{ id = "water_rune", amount = 126, chance = 2 },
54+
{ id = "earth_rune", amount = 79, chance = 3 },
55+
{ id = "earth_rune", amount = 86, chance = 4 },
56+
{ id = "earth_rune", amount = 107, chance = 2 },
57+
{ id = "fire_rune", amount = 51, chance = 3 },
58+
{ id = "fire_rune", amount = 180, chance = 2 },
59+
{ id = "cosmic_rune", amount = 25 },
60+
{ id = "nature_rune", amount = 28, chance = 3 },
61+
{ id = "nature_rune", amount = 30, chance = 7 },
62+
{ id = "law_rune", amount = 9 },
63+
{ id = "law_rune", amount = 10, chance = 4 },
64+
{ id = "death_rune", amount = 45, chance = 6 },
65+
{ id = "blood_rune", amount = 8, chance = 12 },
66+
{ id = "coins", amount = 77, chance = 17 },
67+
{ id = "coins", amount = 89, chance = 25 },
68+
{ id = "coins", amount = 240, chance = 3 },
69+
]
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[double_agent_level_65]
2+
id = 5144
3+
hitpoints = 800
4+
att = 80
5+
str = 43
6+
def = 24
7+
mage = 24
8+
style = "crush"
9+
max_hit_melee = 50
10+
hunt_mode = "cowardly"
11+
examine = "He's playing both sides!"
12+
13+
[double_agent_level_108]
14+
id = 5145
15+
hitpoints = 1200
16+
att = 100
17+
str = 80
18+
def = 80
19+
mage = 80
20+
style = "crush"
21+
max_hit_melee = 140
22+
attack_bonus = 40
23+
xp_bonus = 2.5
24+
hunt_mode = "cowardly"
25+
examine = "He's playing both sides!"
26+
27+
[zamorak_wizard]
28+
id = 1007
29+
hitpoints = 760
30+
att = 24
31+
str = 24
32+
def = 24
33+
mage = 80
34+
style = "magic"
35+
max_hit_melee = 200
36+
hunt_mode = "cowardly"
37+
immune_poison = true
38+
drop_table = "zamorak_wizard"
39+
examine = "A servant of Zamorak."

data/area/asgarnia/black_knights_fortress/black_knight.npcs.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ examine = "Wears a stylish suit of armour."
88

99
[jailer_black_knights_base]
1010
id = 201
11+
hitpoints = 470
12+
att = 40
13+
str = 40
14+
def = 40
15+
style = "crush"
16+
max_hit_melee = 50
17+
respawn_delay = 50
1118
examine = "Guards prisoners for the black knights."
1219

1320
[black_knight_void_stares_back]
@@ -22,3 +29,32 @@ examine = "One of the Black Knights."
2229
id = 12319
2330
examine = "One of the Black Knights."
2431

32+
[fortress_guard]
33+
id = 609
34+
hitpoints = 220
35+
att = 18
36+
str = 18
37+
def = 15
38+
attack_speed = 6
39+
style = "stab"
40+
max_hit_melee = 30
41+
attack_bonus = 5
42+
respawn_delay = 25
43+
drop_table = "bones"
44+
examine = "A generic evil henchman."
45+
46+
[fortress_guard_2]
47+
id = 4603
48+
clone = "fortress_guard"
49+
50+
[fortress_guard_3]
51+
id = 4604
52+
clone = "fortress_guard"
53+
54+
[fortress_guard_4]
55+
id = 4605
56+
clone = "fortress_guard"
57+
58+
[fortress_guard_5]
59+
id = 4606
60+
clone = "fortress_guard"
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
[archer_burthorpe_drop_table]
2+
type = "all"
3+
drops = [
4+
{ id = "bones" },
5+
{ table = "archer_burthorpe_secondary" },
6+
]
7+
8+
[archer_burthorpe_secondary]
9+
roll = 128
10+
drops = [
11+
{ id = "willow_longbow", chance = 4 },
12+
{ id = "studded_chaps", chance = 8 },
13+
{ id = "green_dragonhide_chaps", chance = 6 },
14+
{ id = "maple_shortbow" },
15+
{ id = "earth_rune", amount = 18, chance = 2 },
16+
{ id = "bronze_arrow", amount = 14, chance = 3 },
17+
{ id = "steel_arrow", amount = 14, chance = 2 },
18+
{ id = "fire_rune", amount = 17, chance = 2 },
19+
{ id = "air_rune", amount = 29, chance = 2 },
20+
{ id = "nature_rune", amount = 6 },
21+
{ id = "blood_rune" },
22+
{ id = "chaos_rune", amount = 2 },
23+
{ id = "coins", amount = 3 },
24+
{ id = "coins", amount = 5, chance = 39 },
25+
{ id = "coins", amount = 15, chance = 16 },
26+
{ id = "coins", amount = 12, chance = 9 },
27+
{ id = "coins", amount = 28, chance = 4 },
28+
{ id = "coins", amount = 42, chance = 4 },
29+
{ id = "coins", amount = 46, chance = 2 },
30+
{ id = "earth_talisman", chance = 3 },
31+
{ id = "mithril_ore" },
32+
{ id = "nothing", amount = 0, chance = 16 },
33+
]
34+
35+
[citizen_drop_table]
36+
type = "all"
37+
drops = [
38+
{ id = "bones" },
39+
{ table = "citizen_secondary" },
40+
{ table = "easy_clue_scroll", roll = 128 },
41+
]
42+
43+
[citizen_secondary]
44+
roll = 128
45+
drops = [
46+
{ id = "bronze_med_helm", chance = 2 },
47+
{ id = "iron_dagger" },
48+
{ id = "bronze_bolts", min = 2, max = 12, chance = 22 },
49+
{ id = "bronze_arrow", amount = 7, chance = 3 },
50+
{ id = "earth_rune", amount = 4, chance = 2 },
51+
{ id = "fire_rune", amount = 6, chance = 2 },
52+
{ id = "mind_rune", amount = 9, chance = 2 },
53+
{ id = "chaos_rune", amount = 2 },
54+
{ table = "herb_drop_table", chance = 23 },
55+
{ id = "coins", amount = 3, chance = 38 },
56+
{ id = "coins", amount = 5, chance = 9 },
57+
{ id = "coins", amount = 15, chance = 4 },
58+
{ id = "coins", amount = 25 },
59+
{ id = "nothing", amount = 0, chance = 8 },
60+
{ id = "fishing_bait", chance = 5 },
61+
{ id = "copper_ore", chance = 2 },
62+
{ id = "earth_talisman", chance = 2 },
63+
{ id = "cabbage" },
64+
]
65+
66+
[soldier_burthorpe_drop_table]
67+
type = "all"
68+
drops = [
69+
{ id = "bones" },
70+
{ table = "soldier_burthorpe_secondary" },
71+
]
72+
73+
[soldier_burthorpe_secondary]
74+
roll = 128
75+
drops = [
76+
{ id = "steel_full_helm" },
77+
{ id = "black_dart", amount = 6, chance = 9 },
78+
{ id = "black_knife", amount = 6, chance = 13 },
79+
{ id = "steel_claws", chance = 2 },
80+
{ id = "black_claws" },
81+
{ id = "steel_bar" },
82+
{ id = "mithril_bar" },
83+
{ table = "herb_drop_table", chance = 8 },
84+
{ id = "coins", amount = 3, chance = 17 },
85+
{ id = "coins", amount = 5, chance = 10 },
86+
{ id = "coins", amount = 18, chance = 20 },
87+
{ id = "coins", amount = 50, chance = 40 },
88+
{ id = "coins", amount = 115, chance = 2 },
89+
{ id = "blood_rune", amount = 2 },
90+
{ table = "gem_drop_table", chance = 2 },
91+
]

0 commit comments

Comments
 (0)