comparison Player.cpp @ 569:f451efdb7c8b

* Party buff icons drawing (right panel) * Water Walk works & draws * Fly works & draws * Invisibility sfx works * Some player buff icons draw
author Nomad
date Tue, 05 Mar 2013 16:14:22 +0200
parents 9caf59edb1ee
children f54481c85df8
comparison
equal deleted inserted replaced
568:6f7d936edc9b 569:f451efdb7c8b
6495 { 6495 {
6496 case PLAYER_SKILL_FIRE: spellbook.pFireSpellbook.bIsSpellAvailable[0] = true; 6496 case PLAYER_SKILL_FIRE: spellbook.pFireSpellbook.bIsSpellAvailable[0] = true;
6497 spellbook.pFireSpellbook.bIsSpellAvailable[1] = true; 6497 spellbook.pFireSpellbook.bIsSpellAvailable[1] = true;
6498 spellbook.pFireSpellbook.bIsSpellAvailable[2] = true; 6498 spellbook.pFireSpellbook.bIsSpellAvailable[2] = true;
6499 spellbook.pFireSpellbook.bIsSpellAvailable[3] = true; 6499 spellbook.pFireSpellbook.bIsSpellAvailable[3] = true;
6500 spellbook.pFireSpellbook.bIsSpellAvailable[4] = true;
6501 spellbook.pFireSpellbook.bIsSpellAvailable[5] = true;
6502 spellbook.pFireSpellbook.bIsSpellAvailable[6] = true;
6503 spellbook.pFireSpellbook.bIsSpellAvailable[7] = true;
6504 spellbook.pAirSpellbook.bIsSpellAvailable[1] = true;
6505 spellbook.pAirSpellbook.bIsSpellAvailable[2] = true;
6506 spellbook.pAirSpellbook.bIsSpellAvailable[3] = true;
6507 spellbook.pAirSpellbook.bIsSpellAvailable[4] = true;
6508 spellbook.pAirSpellbook.bIsSpellAvailable[5] = true;
6509 spellbook.pAirSpellbook.bIsSpellAvailable[6] = true;
6510 spellbook.pAirSpellbook.bIsSpellAvailable[7] = true;
6511 spellbook.pAirSpellbook.bIsSpellAvailable[8] = true;
6512 spellbook.pAirSpellbook.bIsSpellAvailable[9] = true;
6513 spellbook.pAirSpellbook.bIsSpellAvailable[10] = true;
6514 pActiveSkills[PLAYER_SKILL_WATER] = 1;
6515 spellbook.pWaterSpellbook.bIsSpellAvailable[0] = true;
6516 spellbook.pWaterSpellbook.bIsSpellAvailable[1] = true;
6517 spellbook.pWaterSpellbook.bIsSpellAvailable[2] = true;
6518 spellbook.pWaterSpellbook.bIsSpellAvailable[3] = true;
6519 spellbook.pWaterSpellbook.bIsSpellAvailable[4] = true;
6520 spellbook.pWaterSpellbook.bIsSpellAvailable[5] = true;
6500 break; 6521 break;
6501 case PLAYER_SKILL_AIR: spellbook.pAirSpellbook.bIsSpellAvailable[0] = true; break; 6522 case PLAYER_SKILL_AIR: spellbook.pAirSpellbook.bIsSpellAvailable[0] = true; break;
6502 case PLAYER_SKILL_WATER: spellbook.pWaterSpellbook.bIsSpellAvailable[0] = true; break; 6523 case PLAYER_SKILL_WATER: spellbook.pWaterSpellbook.bIsSpellAvailable[0] = true; break;
6503 case PLAYER_SKILL_EARTH: spellbook.pEarthSpellbook.bIsSpellAvailable[0] = true; break; 6524 case PLAYER_SKILL_EARTH: spellbook.pEarthSpellbook.bIsSpellAvailable[0] = true; break;
6504 case PLAYER_SKILL_SPIRIT: spellbook.pSpiritSpellbook.bIsSpellAvailable[0] = true; break; 6525 case PLAYER_SKILL_SPIRIT: spellbook.pSpiritSpellbook.bIsSpellAvailable[0] = true; break;
6505 case PLAYER_SKILL_MIND: spellbook.pMindSpellbook.bIsSpellAvailable[0] = true; break; 6526 case PLAYER_SKILL_MIND: spellbook.pMindSpellbook.bIsSpellAvailable[0] = true; break;
6506 case PLAYER_SKILL_BODY: spellbook.pBodySpellbook.bIsSpellAvailable[0] = true; break; 6527 case PLAYER_SKILL_BODY: spellbook.pBodySpellbook.bIsSpellAvailable[0] = true;
6528 spellbook.pBodySpellbook.bIsSpellAvailable[1] = true;
6529 spellbook.pBodySpellbook.bIsSpellAvailable[2] = true;
6530 spellbook.pBodySpellbook.bIsSpellAvailable[3] = true;
6531 spellbook.pBodySpellbook.bIsSpellAvailable[4] = true;
6532 spellbook.pBodySpellbook.bIsSpellAvailable[5] = true;
6533 spellbook.pBodySpellbook.bIsSpellAvailable[6] = true;
6534 spellbook.pBodySpellbook.bIsSpellAvailable[7] = true;
6535 spellbook.pBodySpellbook.bIsSpellAvailable[8] = true;
6536 spellbook.pBodySpellbook.bIsSpellAvailable[9] = true;
6537 pActiveSkills[PLAYER_SKILL_SPIRIT] = 1;
6538 spellbook.pSpiritSpellbook.bIsSpellAvailable[1] = true;
6539 spellbook.pSpiritSpellbook.bIsSpellAvailable[2] = true;
6540 spellbook.pSpiritSpellbook.bIsSpellAvailable[3] = true;
6541 spellbook.pSpiritSpellbook.bIsSpellAvailable[4] = true;
6542 spellbook.pSpiritSpellbook.bIsSpellAvailable[5] = true;
6543 spellbook.pSpiritSpellbook.bIsSpellAvailable[6] = true;
6544 break;
6507 case PLAYER_SKILL_LIGHT: spellbook.pLightSpellbook.bIsSpellAvailable[0] = true; break; 6545 case PLAYER_SKILL_LIGHT: spellbook.pLightSpellbook.bIsSpellAvailable[0] = true; break;
6508 case PLAYER_SKILL_DARK: spellbook.pDarkSpellbook.bIsSpellAvailable[0] = true; break; 6546 case PLAYER_SKILL_DARK: spellbook.pDarkSpellbook.bIsSpellAvailable[0] = true; break;
6509 } 6547 }
6510 } 6548 }
6511 6549