Mercurial > mm7
comparison Player.cpp @ 2059:f9698295c0bd
AttackerInfo, MerchandiseTest
author | Ritor1 |
---|---|
date | Sun, 01 Dec 2013 23:43:03 +0600 |
parents | 62a27b2cfcc2 |
children | b2a434d65344 |
comparison
equal
deleted
inserted
replaced
2058:e249bd483311 | 2059:f9698295c0bd |
---|---|
4382 new_mana_val = playerAffected->sMana; | 4382 new_mana_val = playerAffected->sMana; |
4383 new_mana_val += v26; | 4383 new_mana_val += v26; |
4384 if ( new_mana_val > playerAffected->GetMaxMana() ) | 4384 if ( new_mana_val > playerAffected->GetMaxMana() ) |
4385 new_mana_val = playerAffected->GetMaxMana(); | 4385 new_mana_val = playerAffected->GetMaxMana(); |
4386 playerAffected->PlaySound(SPEECH_36, 0); | 4386 playerAffected->PlaySound(SPEECH_36, 0); |
4387 playerAffected->sMana = new_mana_val; | |
4387 break; | 4388 break; |
4388 case 224: //Cure Weakness | 4389 case 224: //Cure Weakness |
4389 playerAffected->pConditions[Condition_Weak] = 0i64; | 4390 playerAffected->pConditions[Condition_Weak] = 0i64; |
4390 playerAffected->PlaySound(SPEECH_36, 0); | 4391 playerAffected->PlaySound(SPEECH_36, 0); |
4391 break; | 4392 break; |