Debuffed white robot healing and made it buffable by black robot buffing
This commit is contained in:
@@ -430,14 +430,19 @@ public class GMScript : MonoBehaviour
|
|||||||
partyMember == Colours.Black)
|
partyMember == Colours.Black)
|
||||||
{
|
{
|
||||||
|
|
||||||
modifier = 0;
|
|
||||||
|
|
||||||
if(partyMember == Colours.White)
|
if(partyMember == Colours.White)
|
||||||
{
|
{
|
||||||
|
|
||||||
partyHealth += 4;
|
if(buff)
|
||||||
|
{
|
||||||
|
modifiedAttack = (partyAttack * modifier) * 2;
|
||||||
|
} else {
|
||||||
|
modifiedAttack = partyAttack * modifier;
|
||||||
|
}
|
||||||
|
|
||||||
StartCoroutine(DisplayDamageText(4, PartyDamageText, partyMember));
|
partyHealth += (int)modifiedAttack;
|
||||||
|
|
||||||
|
StartCoroutine(DisplayDamageText((int)modifiedAttack, PartyDamageText, partyMember));
|
||||||
|
|
||||||
print(partyMember + " healed the team for 4");
|
print(partyMember + " healed the team for 4");
|
||||||
print("Party health is now: " + partyHealth + " HP");
|
print("Party health is now: " + partyHealth + " HP");
|
||||||
@@ -454,6 +459,9 @@ public class GMScript : MonoBehaviour
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
modifier = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sheild == true)
|
if(sheild == true)
|
||||||
|
|||||||
Reference in New Issue
Block a user