Mercurial > mm7
comparison Player.cpp @ 609:42d5777c2f47
Слияние
author | Ritor1 |
---|---|
date | Wed, 06 Mar 2013 18:22:25 +0600 |
parents | f54481c85df8 |
children | 628694cd5744 |
comparison
equal
deleted
inserted
replaced
608:653724e9c234 | 609:42d5777c2f47 |
---|---|
2296 field_F8 = 0; | 2296 field_F8 = 0; |
2297 field_FC = 0; | 2297 field_FC = 0; |
2298 field_100 = 0; | 2298 field_100 = 0; |
2299 field_104 = 0; | 2299 field_104 = 0; |
2300 | 2300 |
2301 _expression21_animtime = 0; | |
2302 _expression21_frameset = 0; | |
2303 | |
2301 lastOpenedSpellbookPage = 0; | 2304 lastOpenedSpellbookPage = 0; |
2302 } | 2305 } |
2303 | 2306 |
2304 //----- (0048C6F6) -------------------------------------------------------- | 2307 //----- (0048C6F6) -------------------------------------------------------- |
2305 bool Party::AddItem(ItemGen *pItem) | 2308 bool Party::AddItem(ItemGen *pItem) |
3570 if ( pItemsTable->pItems[v17].uEquipType == 12 ) | 3573 if ( pItemsTable->pItems[v17].uEquipType == 12 ) |
3571 v27.uNumCharges = rand() % 6 + pItemsTable->pItems[v17].uDamageMod + 1; | 3574 v27.uNumCharges = rand() % 6 + pItemsTable->pItems[v17].uDamageMod + 1; |
3572 if ( pItemsTable->pItems[v17].uEquipType == 14 ) | 3575 if ( pItemsTable->pItems[v17].uEquipType == 14 ) |
3573 { | 3576 { |
3574 if ( v16 != 220 ) | 3577 if ( v16 != 220 ) |
3575 v27.uEncantmentType = 2 * rand() % 4 + 2; | 3578 v27.uEnchantmentType = 2 * rand() % 4 + 2; |
3576 } | 3579 } |
3577 } | 3580 } |
3578 else | 3581 else |
3579 { | 3582 { |
3580 v18 = &v5->array_000234[rand() % 4]; | 3583 v18 = &v5->array_000234[rand() % 4]; |
6492 { | 6495 { |
6493 case PLAYER_SKILL_FIRE: spellbook.pFireSpellbook.bIsSpellAvailable[0] = true; | 6496 case PLAYER_SKILL_FIRE: spellbook.pFireSpellbook.bIsSpellAvailable[0] = true; |
6494 spellbook.pFireSpellbook.bIsSpellAvailable[1] = true; | 6497 spellbook.pFireSpellbook.bIsSpellAvailable[1] = true; |
6495 spellbook.pFireSpellbook.bIsSpellAvailable[2] = true; | 6498 spellbook.pFireSpellbook.bIsSpellAvailable[2] = true; |
6496 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; | |
6497 break; | 6521 break; |
6498 case PLAYER_SKILL_AIR: spellbook.pAirSpellbook.bIsSpellAvailable[0] = true; break; | 6522 case PLAYER_SKILL_AIR: spellbook.pAirSpellbook.bIsSpellAvailable[0] = true; break; |
6499 case PLAYER_SKILL_WATER: spellbook.pWaterSpellbook.bIsSpellAvailable[0] = true; break; | 6523 case PLAYER_SKILL_WATER: spellbook.pWaterSpellbook.bIsSpellAvailable[0] = true; break; |
6500 case PLAYER_SKILL_EARTH: spellbook.pEarthSpellbook.bIsSpellAvailable[0] = true; break; | 6524 case PLAYER_SKILL_EARTH: spellbook.pEarthSpellbook.bIsSpellAvailable[0] = true; break; |
6501 case PLAYER_SKILL_SPIRIT: spellbook.pSpiritSpellbook.bIsSpellAvailable[0] = true; break; | 6525 case PLAYER_SKILL_SPIRIT: spellbook.pSpiritSpellbook.bIsSpellAvailable[0] = true; break; |
6502 case PLAYER_SKILL_MIND: spellbook.pMindSpellbook.bIsSpellAvailable[0] = true; break; | 6526 case PLAYER_SKILL_MIND: spellbook.pMindSpellbook.bIsSpellAvailable[0] = true; break; |
6503 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; | |
6504 case PLAYER_SKILL_LIGHT: spellbook.pLightSpellbook.bIsSpellAvailable[0] = true; break; | 6545 case PLAYER_SKILL_LIGHT: spellbook.pLightSpellbook.bIsSpellAvailable[0] = true; break; |
6505 case PLAYER_SKILL_DARK: spellbook.pDarkSpellbook.bIsSpellAvailable[0] = true; break; | 6546 case PLAYER_SKILL_DARK: spellbook.pDarkSpellbook.bIsSpellAvailable[0] = true; break; |
6506 } | 6547 } |
6507 } | 6548 } |
6508 | 6549 |
6963 if ( pItemsTable->pItems[pParty->pPickedItem.uItemID].uEquipType == 14 ) | 7004 if ( pItemsTable->pItems[pParty->pPickedItem.uItemID].uEquipType == 14 ) |
6964 { | 7005 { |
6965 switch ( pParty->pPickedItem.uItemID ) | 7006 switch ( pParty->pPickedItem.uItemID ) |
6966 { | 7007 { |
6967 case 0xDEu: | 7008 case 0xDEu: |
6968 v25 = pParty->pPickedItem.uEncantmentType + 10; | 7009 v25 = pParty->pPickedItem.uEnchantmentType + 10; |
6969 goto LABEL_110; | 7010 goto LABEL_110; |
6970 case 0xDFu: | 7011 case 0xDFu: |
6971 v26 = pParty->pPickedItem.uEncantmentType + 10; | 7012 v26 = pParty->pPickedItem.uEnchantmentType + 10; |
6972 goto LABEL_114; | 7013 goto LABEL_114; |
6973 case 0xE0u: | 7014 case 0xE0u: |
6974 LODWORD(v3->pConditions[1]) = 0; | 7015 LODWORD(v3->pConditions[1]) = 0; |
6975 HIDWORD(v3->pConditions[1]) = 0; | 7016 HIDWORD(v3->pConditions[1]) = 0; |
6976 goto LABEL_112; | 7017 goto LABEL_112; |
6999 goto LABEL_173; | 7040 goto LABEL_173; |
7000 v70 = 0; | 7041 v70 = 0; |
7001 v59 = 0; | 7042 v59 = 0; |
7002 v50 = 5; | 7043 v50 = 5; |
7003 v46 = 3; | 7044 v46 = 3; |
7004 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7045 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7005 v29 = (char *)&v3->pPlayerBuffs[7]; | 7046 v29 = (char *)&v3->pPlayerBuffs[7]; |
7006 goto LABEL_147; | 7047 goto LABEL_147; |
7007 case 0xE5u: | 7048 case 0xE5u: |
7008 v70 = 0; | 7049 v70 = 0; |
7009 v59 = 0; | 7050 v59 = 0; |
7010 v50 = 5; | 7051 v50 = 5; |
7011 v46 = 3; | 7052 v46 = 3; |
7012 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7053 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7013 v29 = (char *)&v3->pPlayerBuffs[8]; | 7054 v29 = (char *)&v3->pPlayerBuffs[8]; |
7014 goto LABEL_147; | 7055 goto LABEL_147; |
7015 case 0xE6u: | 7056 case 0xE6u: |
7016 v70 = 0; | 7057 v70 = 0; |
7017 v59 = 0; | 7058 v59 = 0; |
7018 v50 = 5; | 7059 v50 = 5; |
7019 v46 = 3; | 7060 v46 = 3; |
7020 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7061 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7021 v29 = (char *)&v3->pPlayerBuffs[1]; | 7062 v29 = (char *)&v3->pPlayerBuffs[1]; |
7022 goto LABEL_147; | 7063 goto LABEL_147; |
7023 case 0xE7u: | 7064 case 0xE7u: |
7024 v70 = 0; | 7065 v70 = 0; |
7025 v59 = 0; | 7066 v59 = 0; |
7026 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7067 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7027 v46 = 0; | 7068 v46 = 0; |
7028 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7069 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7029 v29 = (char *)&v3->pPlayerBuffs[11]; | 7070 v29 = (char *)&v3->pPlayerBuffs[11]; |
7030 goto LABEL_147; | 7071 goto LABEL_147; |
7031 case 0xE8u: | 7072 case 0xE8u: |
7032 v70 = 0; | 7073 v70 = 0; |
7033 v59 = 0; | 7074 v59 = 0; |
7034 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7075 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7035 v46 = 0; | 7076 v46 = 0; |
7036 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7077 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7037 v29 = (char *)&v3->pPlayerBuffs[13]; | 7078 v29 = (char *)&v3->pPlayerBuffs[13]; |
7038 goto LABEL_147; | 7079 goto LABEL_147; |
7039 case 0xEAu: | 7080 case 0xEAu: |
7040 v70 = 0; | 7081 v70 = 0; |
7041 v59 = 0; | 7082 v59 = 0; |
7042 v50 = 5; | 7083 v50 = 5; |
7043 v46 = 3; | 7084 v46 = 3; |
7044 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7085 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7045 v29 = (char *)&v3->pPlayerBuffs[14]; | 7086 v29 = (char *)&v3->pPlayerBuffs[14]; |
7046 goto LABEL_147; | 7087 goto LABEL_147; |
7047 case 0xEBu: | 7088 case 0xEBu: |
7048 v3->pPlayerBuffs[23].Apply( | 7089 v3->pPlayerBuffs[23].Apply( |
7049 pParty->uTimePlayed + (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335), | 7090 pParty->uTimePlayed + (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335), |
7050 3u, | 7091 3u, |
7051 5u, | 7092 5u, |
7052 0, | 7093 0, |
7053 0); | 7094 0); |
7054 goto LABEL_173; | 7095 goto LABEL_173; |
7065 HIDWORD(v3->pConditions[5]) = 0; | 7106 HIDWORD(v3->pConditions[5]) = 0; |
7066 goto LABEL_112; | 7107 goto LABEL_112; |
7067 case 0xF0u: | 7108 case 0xF0u: |
7068 v70 = 0; | 7109 v70 = 0; |
7069 v59 = 0; | 7110 v59 = 0; |
7070 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7111 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7071 v46 = 0; | 7112 v46 = 0; |
7072 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7113 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7073 v29 = (char *)&v3->pPlayerBuffs[19]; | 7114 v29 = (char *)&v3->pPlayerBuffs[19]; |
7074 goto LABEL_147; | 7115 goto LABEL_147; |
7075 case 0xF1u: | 7116 case 0xF1u: |
7076 v70 = 0; | 7117 v70 = 0; |
7077 v59 = 0; | 7118 v59 = 0; |
7078 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7119 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7079 v46 = 0; | 7120 v46 = 0; |
7080 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7121 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7081 v29 = (char *)&v3->pPlayerBuffs[17]; | 7122 v29 = (char *)&v3->pPlayerBuffs[17]; |
7082 goto LABEL_147; | 7123 goto LABEL_147; |
7083 case 0xF2u: | 7124 case 0xF2u: |
7084 v70 = 0; | 7125 v70 = 0; |
7085 v59 = 0; | 7126 v59 = 0; |
7086 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7127 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7087 v46 = 0; | 7128 v46 = 0; |
7088 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7129 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7089 v29 = (char *)&v3->pPlayerBuffs[20]; | 7130 v29 = (char *)&v3->pPlayerBuffs[20]; |
7090 goto LABEL_147; | 7131 goto LABEL_147; |
7091 case 0xF3u: | 7132 case 0xF3u: |
7092 v70 = 0; | 7133 v70 = 0; |
7093 v59 = 0; | 7134 v59 = 0; |
7094 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7135 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7095 v46 = 0; | 7136 v46 = 0; |
7096 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7137 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7097 v29 = (char *)&v3->pPlayerBuffs[16]; | 7138 v29 = (char *)&v3->pPlayerBuffs[16]; |
7098 goto LABEL_147; | 7139 goto LABEL_147; |
7099 case 0xF4u: | 7140 case 0xF4u: |
7100 v70 = 0; | 7141 v70 = 0; |
7101 v59 = 0; | 7142 v59 = 0; |
7102 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7143 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7103 v46 = 0; | 7144 v46 = 0; |
7104 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7145 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7105 v29 = (char *)&v3->pPlayerBuffs[21]; | 7146 v29 = (char *)&v3->pPlayerBuffs[21]; |
7106 goto LABEL_147; | 7147 goto LABEL_147; |
7107 case 0xF5u: | 7148 case 0xF5u: |
7108 v70 = 0; | 7149 v70 = 0; |
7109 v59 = 0; | 7150 v59 = 0; |
7110 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7151 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7111 v46 = 0; | 7152 v46 = 0; |
7112 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7153 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7113 v29 = (char *)&v3->pPlayerBuffs[15]; | 7154 v29 = (char *)&v3->pPlayerBuffs[15]; |
7114 goto LABEL_147; | 7155 goto LABEL_147; |
7115 case 0xFBu: | 7156 case 0xFBu: |
7116 LODWORD(v3->pConditions[12]) = 0; | 7157 LODWORD(v3->pConditions[12]) = 0; |
7117 HIDWORD(v3->pConditions[12]) = 0; | 7158 HIDWORD(v3->pConditions[12]) = 0; |
7130 LODWORD(v3->pConditions[16]) = v34; | 7171 LODWORD(v3->pConditions[16]) = v34; |
7131 LODWORD(v3->pConditions[14]) = v30; | 7172 LODWORD(v3->pConditions[14]) = v30; |
7132 HIDWORD(v3->pConditions[16]) = v35; | 7173 HIDWORD(v3->pConditions[16]) = v35; |
7133 goto LABEL_112; | 7174 goto LABEL_112; |
7134 case 0xFDu: | 7175 case 0xFDu: |
7135 v25 = 5 * pParty->pPickedItem.uEncantmentType; | 7176 v25 = 5 * pParty->pPickedItem.uEnchantmentType; |
7136 LABEL_110: | 7177 LABEL_110: |
7137 v69 = v25; | 7178 v69 = v25; |
7138 goto LABEL_111; | 7179 goto LABEL_111; |
7139 case 0xFEu: | 7180 case 0xFEu: |
7140 v26 = 5 * pParty->pPickedItem.uEncantmentType; | 7181 v26 = 5 * pParty->pPickedItem.uEnchantmentType; |
7141 LABEL_114: | 7182 LABEL_114: |
7142 v27 = (char *)&v3->sMana; | 7183 v27 = (char *)&v3->sMana; |
7143 *(int *)v27 += v26; | 7184 *(int *)v27 += v26; |
7144 goto LABEL_170; | 7185 goto LABEL_170; |
7145 case 0xFFu: | 7186 case 0xFFu: |
7146 v70 = 0; | 7187 v70 = 0; |
7147 v59 = 0; | 7188 v59 = 0; |
7148 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7189 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7149 v46 = 0; | 7190 v46 = 0; |
7150 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7191 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7151 v29 = (char *)&v3->pPlayerBuffs[18]; | 7192 v29 = (char *)&v3->pPlayerBuffs[18]; |
7152 goto LABEL_147; | 7193 goto LABEL_147; |
7153 case 0x100u: | 7194 case 0x100u: |
7154 v70 = 0; | 7195 v70 = 0; |
7155 v59 = 0; | 7196 v59 = 0; |
7156 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7197 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7157 v46 = 0; | 7198 v46 = 0; |
7158 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7199 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7159 v29 = (char *)&v3->pPlayerBuffs[5]; | 7200 v29 = (char *)&v3->pPlayerBuffs[5]; |
7160 goto LABEL_147; | 7201 goto LABEL_147; |
7161 case 0x101u: | 7202 case 0x101u: |
7162 v70 = 0; | 7203 v70 = 0; |
7163 v59 = 0; | 7204 v59 = 0; |
7164 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7205 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7165 v46 = 0; | 7206 v46 = 0; |
7166 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7207 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7167 v29 = (char *)v3->pPlayerBuffs; | 7208 v29 = (char *)v3->pPlayerBuffs; |
7168 goto LABEL_147; | 7209 goto LABEL_147; |
7169 case 0x102u: | 7210 case 0x102u: |
7170 v70 = 0; | 7211 v70 = 0; |
7171 v59 = 0; | 7212 v59 = 0; |
7172 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7213 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7173 v46 = 0; | 7214 v46 = 0; |
7174 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7215 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7175 v29 = (char *)&v3->pPlayerBuffs[22]; | 7216 v29 = (char *)&v3->pPlayerBuffs[22]; |
7176 goto LABEL_147; | 7217 goto LABEL_147; |
7177 case 0x103u: | 7218 case 0x103u: |
7178 v70 = 0; | 7219 v70 = 0; |
7179 v59 = 0; | 7220 v59 = 0; |
7180 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7221 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7181 v46 = 0; | 7222 v46 = 0; |
7182 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7223 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7183 v29 = (char *)&v3->pPlayerBuffs[3]; | 7224 v29 = (char *)&v3->pPlayerBuffs[3]; |
7184 goto LABEL_147; | 7225 goto LABEL_147; |
7185 case 0x104u: | 7226 case 0x104u: |
7186 v70 = 0; | 7227 v70 = 0; |
7187 v59 = 0; | 7228 v59 = 0; |
7188 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7229 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7189 v46 = 0; | 7230 v46 = 0; |
7190 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7231 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7191 v29 = (char *)&v3->pPlayerBuffs[9]; | 7232 v29 = (char *)&v3->pPlayerBuffs[9]; |
7192 goto LABEL_147; | 7233 goto LABEL_147; |
7193 case 0x105u: | 7234 case 0x105u: |
7194 v70 = 0; | 7235 v70 = 0; |
7195 v59 = 0; | 7236 v59 = 0; |
7196 v50 = 3 * LOWORD(pParty->pPickedItem.uEncantmentType); | 7237 v50 = 3 * LOWORD(pParty->pPickedItem.uEnchantmentType); |
7197 v46 = 0; | 7238 v46 = 0; |
7198 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEncantmentType) * 0.033333335); | 7239 v28 = (signed __int64)((double)(230400 * pParty->pPickedItem.uEnchantmentType) * 0.033333335); |
7199 v29 = (char *)&v3->pPlayerBuffs[2]; | 7240 v29 = (char *)&v3->pPlayerBuffs[2]; |
7200 LABEL_147: | 7241 LABEL_147: |
7201 ((SpellBuff *)v29)->Apply(pParty->uTimePlayed + v28, v46, v50, v59, v70); | 7242 ((SpellBuff *)v29)->Apply(pParty->uTimePlayed + v28, v46, v50, v59, v70); |
7202 goto LABEL_112; | 7243 goto LABEL_112; |
7203 case 0x106u: | 7244 case 0x106u: |