comparison mm7_2.cpp @ 673:638bd256ca46

learn skills
author zipi
date Thu, 14 Mar 2013 22:28:46 +0000
parents 0b908cda781f
children 551f74425b17
comparison
equal deleted inserted replaced
672:0b908cda781f 673:638bd256ca46
1683 // or 1683 // or
1684 //byte_4ED970_skill_learn_ability_by_class_table[v58->uClass][v23 - 36] 1684 //byte_4ED970_skill_learn_ability_by_class_table[v58->uClass][v23 - 36]
1685 // or 1685 // or
1686 //byte_4ED970_skill_learn_ability_by_class_table[v58->uClass - 1][v23 + 1] 1686 //byte_4ED970_skill_learn_ability_by_class_table[v58->uClass - 1][v23 + 1]
1687 1687
1688 if (false) 1688 //if (false)
1689 if(byte_4ED970_skill_learn_ability_by_class_table[v35->classType][uMessageParam-36])
1689 //if ( *(&byte_4ED94C[37 * v35->uClass] + v55) ) 1690 //if ( *(&byte_4ED94C[37 * v35->uClass] + v55) )
1690 { 1691 {
1691 v38 = (int)(&v35->uIntelligence + uMessageParam); 1692 v38 = (int)(&v35->uIntelligence + uMessageParam);
1692 if ( !*(short *)v38 ) 1693 if ( !*(short *)v38 )
1693 { 1694 {