Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
57e0f7ba
Commit
57e0f7ba
authored
Jun 26, 2022
by
Paimon2022
Committed by
Melledy
Jun 25, 2022
Browse files
Fix healing abilities for Q skill of Kokomi, Qiqi and Barbara.
parent
0144e55d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/ability/HealAbilityManager.java
View file @
57e0f7ba
...
...
@@ -92,15 +92,15 @@ public class HealAbilityManager {
public
HealAbilityManager
(
Player
player
)
{
this
.
player
=
player
;
healDataAvatarList
=
new
ArrayList
();
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000054
,
"Kokomi"
,
0
).
addHealData
(
"E"
,
"ElementalArt_Heal_MaxHP_Base_Percentage"
,
"ElementalArt_Heal_Base_Amount"
,
false
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000054
,
"Kokomi"
,
0
).
addHealData
(
"E"
,
"ElementalArt_Heal_MaxHP_Base_Percentage"
,
"ElementalArt_Heal_Base_Amount"
,
false
).
addHealData
(
"Q"
,
"Avatar_Kokomi_ElementalBurst_Heal"
,
0.0172f
,
212
f
,
false
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000003
,
"Qin"
,
1
).
addHealData
(
"Q"
,
"Heal"
,
"BurstHealConst"
,
true
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000034
,
"Noel"
,
2
).
addHealData
(
"E"
,
"OnAttack_HealthRate"
,
0.452f
,
282
f
,
true
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000032
,
"Bennett"
,
0
).
addHealData
(
"Q"
,
"HealMaxHpRatio"
,
"HealConst"
,
false
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000039
,
"Diona"
,
0
).
addHealData
(
"Q"
,
"HealHPRatio"
,
"HealHP_Const"
,
false
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000053
,
"Sayu"
,
1
).
addHealData
(
"Q"
,
"Constellation_6_Damage"
,
"Heal_BaseAmount"
,
true
).
addHealData
(
"Q"
,
"Heal_AttackRatio"
,
"Constellation_6_Heal"
,
true
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000014
,
"Barbara"
,
0
).
addHealData
(
"E"
,
"HealHPOnAdded"
,
"HealHPOnAdded_Const"
,
true
).
addHealData
(
"E"
,
"HealHP_OnHittingOthers"
,
"HealHP_Const_OnHittingOthers"
,
true
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000014
,
"Barbara"
,
0
).
addHealData
(
"E"
,
"HealHPOnAdded"
,
"HealHPOnAdded_Const"
,
true
).
addHealData
(
"E"
,
"HealHP_OnHittingOthers"
,
"HealHP_Const_OnHittingOthers"
,
true
).
addHealData
(
"Q"
,
"Avatar_Barbara_IdolHeal"
,
0.374f
,
4660
,
true
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000065
,
"Shinobu"
,
0
).
addHealData
(
"E"
,
"ElementalArt_Heal_MaxHP_Percentage"
,
0.064f
,
795
f
,
false
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000035
,
"Qiqi"
,
1
).
addHealData
(
"E"
,
"HealHP_OnHittingOthers"
,
"HealHP_Const_OnHittingOthers"
,
true
).
addHealData
(
"E"
,
"ElementalArt_HealHp_Ratio"
,
"ElementalArt_HealHp_Const"
,
true
));
healDataAvatarList
.
add
(
new
HealDataAvatar
(
10000035
,
"Qiqi"
,
1
).
addHealData
(
"E"
,
"HealHP_OnHittingOthers"
,
"HealHP_Const_OnHittingOthers"
,
true
).
addHealData
(
"E"
,
"ElementalArt_HealHp_Ratio"
,
"ElementalArt_HealHp_Const"
,
true
)
.
addHealData
(
"Q"
,
"Avatar_Qiqi_ElementalBurst_ApplyModifier"
,
0.0191f
,
1588
f
,
false
)
);
}
public
Player
getPlayer
()
{
...
...
@@ -139,7 +139,7 @@ public class HealAbilityManager {
for
(
int
j
=
0
;
j
<
healDataList
.
size
();
j
++)
{
HealData
healData
=
healDataList
.
get
(
j
);
if
(
map
.
containsKey
(
healData
.
sRatio
))
{
if
(
map
.
containsKey
(
healData
.
sRatio
)
||
modifierString
.
equals
(
healData
.
sRatio
)
)
{
if
(
healData
.
isString
)
{
ratio
=
map
.
get
(
healData
.
sRatio
);
base
=
map
.
get
(
healData
.
sBase
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment