- Update Ban Mai idle and run animation
- Change
healthBarImageUpdate
from Vector2GameEvent to GameEvent (see PlayerUIManager.cs and PlayerCombat.cs) - Update function
HealthBarImagePopUp
(see PlayerUIManager.cs) to support newhealthBarImageUpdate
GameEvent - Update Raise of
healthBarImageUpdate
GameEvent (see PlayerCombat.cs)
- Change name to PlayerMapping.cs
- Add
critChance
- Add [HideInInspector] to all field
critChance
is setup in Awake of PlayerCombat.cs through PlayerData
- Add
critChance
andcurrentCritChance
(Setup in AbilityManager.cs) - Add function
SetupCritChance
to updatecritChance
- During Awake, when setup Abilities for
allAbilities
, we also setup critChance usingSetupCritChance
- Add
multiplier
: for crit damage multiplier - Update function
OnTriggerEnter2D
: Support crit chance - See updates in ChuaTeNuaBai.cs and LanKnife.cs
- Function
TakeDamage
support damage multiplier if crit - Function
DamagePopupSequence
support Text UI display if crit
- New files added to Images