Date: 2020/04/26 07:38:53 UTC-07:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#===================================================================#
#=========================== |Evenement| ===========================#
#===================================================================#
caughtAMonster:
type: world
events:
on player fishes while CAUGHT_FISH:
- if <util.random.int[0].to[100]> <= 5 :
- random :
- spawn <player.location> fish_monster_1 persistent
- spawn <player.location> fish_monster_2 persistent
- spawn <player.location> fish_monster_3 persistent
- spawn <player.location> fish_monster_4 persistent
on fish_monster_1 dies:
- determine NO_DROPS
on fish_monster_2 dies:
- determine NO_DROPS
on fish_monster_3 dies:
- determine NO_DROPS
on fish_monster_4 dies:
- determine NO_DROPS
on player kills fish_monster_1:
- narrate "<&3>Vous avez tué la créature des rivières"
on player kills fish_monster_2:
- narrate "<&3>Vous avez tué la créature des lacs"
on player kills fish_monster_3:
- narrate "<&3>Vous avez tué la créature des mers"
on player kills fish_monster_4:
- narrate "<&3>Vous avez tué la créature des océans"
#====================================================================#
#========================= |Liste des Mobs| =========================#
#====================================================================#
# Tiers 1
fish_monster_1:
type: entity
debug: false
entity_type: GUARDIAN
custom_name: <&1>créature des rivières
health_data: 30/30
has_ai: true
max_no_damage_duration: 0t
# Tiers 2
fish_monster_2:
type: entity
debug: false
entity_type: GUARDIAN
custom_name: <&1>créature des lacs
health_data: 60/60
has_ai: true
max_no_damage_duration: 3t
# Tiers 3
fish_monster_3:
type: entity
debug: false
entity_type: GUARDIAN
custom_name: <&1>créature des mers
health_data: 100/100
has_ai: true
max_no_damage_duration: 7t
# Tiers 4
fish_monster_4:
type: entity
debug: false
entity_type: GUARDIAN
custom_name: <&1>créature des océans
health_data: 150/150
has_ai: true
max_no_damage_duration: 10t