comparison mm7_6.cpp @ 1285:62f4cdaa726b

shot from a bow and more
author Ritor1
date Sat, 15 Jun 2013 23:58:19 +0600
parents 1803172dffd9
children c423f946dc99
comparison
equal deleted inserted replaced
1284:2767980b98bb 1285:62f4cdaa726b
2779 v731 = SkillToMastery(v11); 2779 v731 = SkillToMastery(v11);
2780 2780
2781 if (pCastSpell->forced_spell_skill_level) 2781 if (pCastSpell->forced_spell_skill_level)
2782 uRequiredMana = 0; 2782 uRequiredMana = 0;
2783 else 2783 else
2784 uRequiredMana = pSpellDatas[pCastSpell->spellnum].mana_per_skill[v731 - 1]; 2784 uRequiredMana = pSpellDatas[pCastSpell->spellnum - 1].mana_per_skill[v731 - 1];
2785 sRecoveryTime = pSpellDatas[pCastSpell->spellnum].recovery_per_skill[v731 - 1]; 2785 sRecoveryTime = pSpellDatas[pCastSpell->spellnum - 1].recovery_per_skill[v731 - 1];
2786 2786
2787 if (LODWORD(v725) == PLAYER_SKILL_DARK && pParty->uCurrentHour == 0 && pParty->uCurrentMinute == 0 || 2787 if (LODWORD(v725) == PLAYER_SKILL_DARK && pParty->uCurrentHour == 0 && pParty->uCurrentMinute == 0 ||
2788 LODWORD(v725) == PLAYER_SKILL_LIGHT && pParty->uCurrentHour == 12 && pParty->uCurrentMinute == 0) 2788 LODWORD(v725) == PLAYER_SKILL_LIGHT && pParty->uCurrentHour == 12 && pParty->uCurrentMinute == 0)
2789 uRequiredMana = 0; 2789 uRequiredMana = 0;
2790 2790