Mercurial > mm7
comparison mm7_4.cpp @ 822:c232f160e6f3
Named SpriteObject spell-related fields.
author | Nomad |
---|---|
date | Tue, 26 Mar 2013 17:56:24 +0200 |
parents | 9359c114f98c |
children | c1da83d8223f |
comparison
equal
deleted
inserted
replaced
820:522591080ac5 | 822:c232f160e6f3 |
---|---|
2072 v9 = 0; | 2072 v9 = 0; |
2073 a3.z = 0; | 2073 a3.z = 0; |
2074 a3.y = 0; | 2074 a3.y = 0; |
2075 a3.x = 0; | 2075 a3.x = 0; |
2076 a1.stru_24.Reset(); | 2076 a1.stru_24.Reset(); |
2077 a1.field_4C = pParty->pPartyBuffs[10].uPower; | 2077 a1.spell_level = pParty->pPartyBuffs[PARTY_BUFF_IMMOLATION].uPower; |
2078 a1.field_50 = pParty->ImmolationSkillLevel(); | 2078 a1.spell_skill = pParty->ImmolationSkillLevel(); |
2079 v10 = 0; | 2079 v10 = 0; |
2080 a1.uType = 1070; | 2080 a1.uType = 1070; |
2081 a1.field_48 = 8; | 2081 a1.spell_id = SPELL_FIRE_IMMOLATION; |
2082 if ( (signed int)pObjectList->uNumObjects <= 0 ) | 2082 if ( (signed int)pObjectList->uNumObjects <= 0 ) |
2083 { | 2083 { |
2084 LABEL_19: | 2084 LABEL_19: |
2085 LOWORD(v10) = 0; | 2085 LOWORD(v10) = 0; |
2086 } | 2086 } |
2100 v12 = 8 * pParty->pPartyBuffs[10].uCaster; | 2100 v12 = 8 * pParty->pPartyBuffs[10].uCaster; |
2101 LOBYTE(v12) = v12 | OBJECT_Player; | 2101 LOBYTE(v12) = v12 | OBJECT_Player; |
2102 a1.uAttributes = 0; | 2102 a1.uAttributes = 0; |
2103 a1.uSectorID = 0; | 2103 a1.uSectorID = 0; |
2104 a1.uSpriteFrameID = 0; | 2104 a1.uSpriteFrameID = 0; |
2105 a1.field_58_pid = v12; | 2105 a1.spell_caster_pid = v12; |
2106 a1.uFacing = 0; | 2106 a1.uFacing = 0; |
2107 a1.uSoundID = 0; | 2107 a1.uSoundID = 0; |
2108 v13 = sub_46A89E((int)v41, 100, 307); | 2108 v13 = sub_46A89E((int)v41, 100, 307); |
2109 if ( v13 > 0 ) | 2109 if ( v13 > 0 ) |
2110 { | 2110 { |