-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDAMAGETYPES.CON
153 lines (141 loc) · 8.27 KB
/
DAMAGETYPES.CON
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
state char_firedamage_misc
ifvare CHARACTERSELECTED? 3 // Bubsy
{
setvar MISCARRAYID 103 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // BUBSY-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 1 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 5 } // 40% Damage in Loki Mask form
ifvare sector[PLAYERSECTOR].lotag 2 ifvare WATER? 2 mulvar PLAYERDAMAGE 2 // 200% if underwater
ifvare sector[PLAYERSECTOR].lotag 1 ifvare WATER? 1 { mulvar PLAYERDAMAGE 4 divvar PLAYERDAMAGE 3 } // 133% if knee-high in water
}
ifvare CHARACTERSELECTED? 4 // Ami
{
ifvare sector[PLAYERSECTOR].lotag 2 ifvare WATER? 2 divvar TEMPDAMAGEVAR 6 // 16.6% Damage under water
ifvare sector[PLAYERSECTOR].lotag 1 ifvare WATER? 1 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 7 } // 29% damage while in water
setvar MISCARRAYID 104 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // AMI-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 4 divvar TEMPDAMAGEVAR 3 } // 133% Damage in Civilian form
ifvare MISCARRAYID_AMOUNTTEMP 1 divvar TEMPDAMAGEVAR 2 // 50% Damage in Senshi Form
ifvare MISCARRAYID_AMOUNTTEMP 2 divvar TEMPDAMAGEVAR 3 // 33% Damage in Balanced Form
ifvarand PLAYERSTATUS? 256 // Mercury Aqua Protection buff
{
ifp pducking divvar TEMPDAMAGEVAR 25 // 4% Damage while crouching and using MAP
else divvar TEMPDAMAGEVAR 5 // 20% Damage while not-crouching and using MAP
}
mulvar TEMPDAMAGEVAR 4 divvar TEMPDAMAGEVAR 3 // 133% Damage from Fire
}
ifvare CHARACTERSELECTED? 6 // ESSence
{
setvar MISCARRAYID 106 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // ESSENCE-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 5 } // 40% Damage when in ESS armor
}
ifvare CHARACTERSELECTED? 7 divvar TEMPDAMAGEVAR 3 // Ted [33% Damage]
ifvare CHARACTERSELECTED? 9 { mulvar TEMPDAMAGEVAR 3 divvar TEMPDAMAGEVAR 5 } // Cybanis [60% Damage]
ifvare CHARACTERSELECTED? 11 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 3 } // Paula [66% Damage]
ifvare CHARACTERSELECTED? 13 // Minako
{
setvar MISCARRAYID 113 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // MINAKO-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 4 divvar TEMPDAMAGEVAR 3 } // 133% Damage in Civilian form
ifvare MISCARRAYID_AMOUNTTEMP 1 divvar TEMPDAMAGEVAR 2 // 50% Damage in Senshi Form
ifvare MISCARRAYID_AMOUNTTEMP 2 divvar TEMPDAMAGEVAR 3 // 33% Damage in Balanced Form
mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 3 // 66% Damage from Fire
}
ifvare CHARACTERSELECTED? 14 divvar TEMPDAMAGEVAR 2 // "Mystery Lady" [50% Damage]
ifvare CHARACTERSELECTED? 15 divvar TEMPDAMAGEVAR 6 // Maken [17% Damage]
ends
state char_icedamage_misc
ifvare CHARACTERSELECTED? 3 // Bubsy
{
setvar MISCARRAYID 103 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // BUBSY-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 3 divvar TEMPDAMAGEVAR 2 } // 150% Damage
ifvare MISCARRAYID_AMOUNTTEMP 1 { mulvar TEMPDAMAGEVAR 5 divvar TEMPDAMAGEVAR 4 } // 125% Damage
ifvare sector[PLAYERSECTOR].lotag 2 ifvare WATER? 2 mulvar PLAYERDAMAGE 2 // 200% if underwater
ifvare sector[PLAYERSECTOR].lotag 1 ifvare WATER? 1 { mulvar PLAYERDAMAGE 4 divvar PLAYERDAMAGE 3 } // 133% if knee-high in water
setvar MISCARRAYID 231 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // BUBSY-DIVINGSUIT?
ifvare MISCARRAYID_AMOUNTTEMP 1 divvar TEMPDAMAGEVAR 2 // -50% Ice damage w/ Diving Suit on
}
ifvare CHARACTERSELECTED? 4 // Ami
{
ifvare sector[PLAYERSECTOR].lotag 2 ifvare WATER? 2 divvar TEMPDAMAGEVAR 6
ifvare sector[PLAYERSECTOR].lotag 1 ifvare WATER? 1 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 7 }
setvar MISCARRAYID 104 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // AMI-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 4 divvar TEMPDAMAGEVAR 3 } // 133% Damage
ifvare MISCARRAYID_AMOUNTTEMP 1 divvar TEMPDAMAGEVAR 2 // 50% Damage
ifvare MISCARRAYID_AMOUNTTEMP 2 divvar TEMPDAMAGEVAR 3 // 33% Damage
ifvarand PLAYERSTATUS? 256
{
ifp pducking divvar TEMPDAMAGEVAR 25 // 4% Damage
else divvar TEMPDAMAGEVAR 5 // 20% Damage
}
divvar TEMPDAMAGEVAR 10 // 10% Damage
}
ifvare CHARACTERSELECTED? 6 // ESSence
{
setvar MISCARRAYID 106 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // ESSENCE-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 5 } // 40% Damage when in ESS armor
mulvar TEMPDAMAGEVAR 3 // 300% Damage
}
ifvare CHARACTERSELECTED? 9 // Cybanis
{
mulvar TEMPDAMAGEVAR 3 divvar TEMPDAMAGEVAR 5 // 60% Damage
mulvar TEMPDAMAGEVAR 2 // 200% Damage
}
ifvare CHARACTERSELECTED? 10 // Nethra/Christina
{
setvar MISCARRAYID 110 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // NETHRA-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 3 } // 66% Damage
ifvare MISCARRAYID_AMOUNTTEMP 1 { mulvar TEMPDAMAGEVAR -2 sound ABSORB_DAMAGE } // 200% Absorbsion
}
ifvare CHARACTERSELECTED? 13 // Minako
{
setvar MISCARRAYID 113 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // MINAKO-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 4 divvar TEMPDAMAGEVAR 3 } // 133% Damage
ifvare MISCARRAYID_AMOUNTTEMP 1 divvar TEMPDAMAGEVAR 2 // 50% Damage
ifvare MISCARRAYID_AMOUNTTEMP 2 divvar TEMPDAMAGEVAR 3 // 33% Damage
}
ifvare CHARACTERSELECTED? 14 divvar TEMPDAMAGEVAR 2 // "Mystery Lady" [50% Damage]
ends
state char_elecdamage_misc
ifvare CHARACTERSELECTED? 3 // Bubsy
{
setvar MISCARRAYID 103 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // BUBSY-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 1 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 5 } // 40% Damage
ifvare sector[PLAYERSECTOR].lotag 2 ifvare WATER? 2 mulvar PLAYERDAMAGE 2 // 200% if underwater
ifvare sector[PLAYERSECTOR].lotag 1 ifvare WATER? 1 { mulvar PLAYERDAMAGE 4 divvar PLAYERDAMAGE 3 } // 133% if knee-high in water
setvar MISCARRAYID 231 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // BUBSY-DIVINGSUIT?
ifvare MISCARRAYID_AMOUNTTEMP 1 divvar TEMPDAMAGEVAR 5 // -80% Electric damage w/ Diving Suit on
}
ifvare CHARACTERSELECTED? 4 // Ami
{
ifvare sector[PLAYERSECTOR].lotag 2 ifvare WATER? 2 divvar TEMPDAMAGEVAR 6
ifvare sector[PLAYERSECTOR].lotag 1 ifvare WATER? 1 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 7 }
setvar MISCARRAYID 104 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // AMI-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 4 divvar TEMPDAMAGEVAR 3 } // 133% Damage
ifvare MISCARRAYID_AMOUNTTEMP 1 divvar TEMPDAMAGEVAR 2 // 50% Damage
ifvare MISCARRAYID_AMOUNTTEMP 2 divvar TEMPDAMAGEVAR 3 // 33% Damage
ifvarand PLAYERSTATUS? 256
{
ifp pducking divvar TEMPDAMAGEVAR 25 // 4% Damage
else divvar TEMPDAMAGEVAR 5 // 20% Damage
}
mulvar TEMPDAMAGEVAR 4 divvar TEMPDAMAGEVAR 3 // 133% Damage
}
ifvare CHARACTERSELECTED? 6 // ESSence
{
setvar MISCARRAYID 106 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // ESSENCE-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 5 } // 40% Damage when in ESS armor
}
ifvare CHARACTERSELECTED? 8 { mulvar TEMPDAMAGEVAR 3 divvar TEMPDAMAGEVAR 5 } // Lisa [60% Damage]
ifvare CHARACTERSELECTED? 9 { mulvar TEMPDAMAGEVAR 3 divvar TEMPDAMAGEVAR 5 } // Cybanis [60% Damage]
ifvare CHARACTERSELECTED? 10 // Nethra/Christina
{
setvar MISCARRAYID 110 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // NETHRA-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR -11 divvar TEMPDAMAGEVAR 2 sound ABSORB_DAMAGE } // 550% Absorbsion
ifvare MISCARRAYID_AMOUNTTEMP 1 { mulvar TEMPDAMAGEVAR 2 divvar TEMPDAMAGEVAR 3 } // 66% Damage
}
ifvare CHARACTERSELECTED? 13 // Minako
{
setvar MISCARRAYID 113 getactorvar[MISCARRAYID].MISCARRAYID_AMOUNT MISCARRAYID_AMOUNTTEMP // MINAKO-FORM?
ifvare MISCARRAYID_AMOUNTTEMP 0 { mulvar TEMPDAMAGEVAR 4 divvar TEMPDAMAGEVAR 3 } // 133% Damage
ifvare MISCARRAYID_AMOUNTTEMP 1 divvar TEMPDAMAGEVAR 2 // 50% Damage
ifvare MISCARRAYID_AMOUNTTEMP 2 divvar TEMPDAMAGEVAR 3 // 33% Damage
}
ifvare CHARACTERSELECTED? 14 divvar TEMPDAMAGEVAR 2 // "Mystery Lady" [50% Damage]
ends