Imzogelmo
01-13-2013, 10:51 PM
II. Spell
A. Attributes (32 * 4 bytes)
1. Sphere (White or black, can certainly define others)
2. Effect (none, affect attributes, affect status, affect elemental)
3. EffectParam1 (which attribute to affect; which status, which elemental)
4. EffectParam2 (how much to add/subtract for attribute)
5. Price
6. Targetting (one ally, all allies, caster only, one enemy, all enemies)
7. SuccessRate
8. SpellLevel
9. FieldEffect (script to run out of battle)
10. FieldParam1 (base)
11. FieldParam2 (range)
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31. BattleMessage
32. GraphicSet
B. Elemental (32 * 2 bytes)
1. ElementalAttack (weapons only)
2. (reserved for expansion of above)
3. ElementalResistance(from non-weapons only)
4. (reserved for expansion of above)
5. ElementalWeakness (from non-weapons only)
6. (reserved for expansion of above)
7. ElementalNullify (from non-weapons only)
8. (reserved for expansion of above)
9. ElementalAbsorb (from non-weapons only)
10. (reserved for expansion of above)
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
C. Status (32 * 2 bytes)
1. BlockedStatus
2. (reserved for expansion of above)
3. (reserved for expansion of above)
4. (reserved for expansion of above)
5. (reserved for expansion of above)
6. (reserved for expansion of above)
7. SetStatus
8. (reserved for expansion of above)
9. (reserved for expansion of above)
10. (reserved for expansion of above)
11. (reserved for expansion of above)
12. (reserved for expansion of above)
13. RemovedStatus
14. (reserved for expansion of above)
15. (reserved for expansion of above)
16. (reserved for expansion of above)
17. (reserved for expansion of above)
18. (reserved for expansion of above)
19. ToggledStatus
20. (reserved for expansion of above)
21. (reserved for expansion of above)
22. (reserved for expansion of above)
23. (reserved for expansion of above)
24. (reserved for expansion of above)
25.
26.
27.
28.
29.
30.
31.
32.
D. Flags (32 * 2 bytes)
1. LearnableClasses
2. (reserved for expansion of above)
3. (reserved for expansion of above)
4. (reserved for expansion of above)
5. (reserved for expansion of above)
6. (reserved for expansion of above)
7. (reserved for expansion of above)
8. (reserved for expansion of above)
9. HurtCategoryBonus (damaging spells only)
10. (reserved for expansion of above)
11. (reserved for expansion of above)
12. (reserved for expansion of above)
13. AttributeEffectFlags
0x0001 Subtractive (Damage to attribute)
0x0002 Additive (Healing to attribute)
0x0004 Undead Only
0x0008 Ignore Defense
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
A. Attributes (32 * 4 bytes)
1. Sphere (White or black, can certainly define others)
2. Effect (none, affect attributes, affect status, affect elemental)
3. EffectParam1 (which attribute to affect; which status, which elemental)
4. EffectParam2 (how much to add/subtract for attribute)
5. Price
6. Targetting (one ally, all allies, caster only, one enemy, all enemies)
7. SuccessRate
8. SpellLevel
9. FieldEffect (script to run out of battle)
10. FieldParam1 (base)
11. FieldParam2 (range)
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31. BattleMessage
32. GraphicSet
B. Elemental (32 * 2 bytes)
1. ElementalAttack (weapons only)
2. (reserved for expansion of above)
3. ElementalResistance(from non-weapons only)
4. (reserved for expansion of above)
5. ElementalWeakness (from non-weapons only)
6. (reserved for expansion of above)
7. ElementalNullify (from non-weapons only)
8. (reserved for expansion of above)
9. ElementalAbsorb (from non-weapons only)
10. (reserved for expansion of above)
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
C. Status (32 * 2 bytes)
1. BlockedStatus
2. (reserved for expansion of above)
3. (reserved for expansion of above)
4. (reserved for expansion of above)
5. (reserved for expansion of above)
6. (reserved for expansion of above)
7. SetStatus
8. (reserved for expansion of above)
9. (reserved for expansion of above)
10. (reserved for expansion of above)
11. (reserved for expansion of above)
12. (reserved for expansion of above)
13. RemovedStatus
14. (reserved for expansion of above)
15. (reserved for expansion of above)
16. (reserved for expansion of above)
17. (reserved for expansion of above)
18. (reserved for expansion of above)
19. ToggledStatus
20. (reserved for expansion of above)
21. (reserved for expansion of above)
22. (reserved for expansion of above)
23. (reserved for expansion of above)
24. (reserved for expansion of above)
25.
26.
27.
28.
29.
30.
31.
32.
D. Flags (32 * 2 bytes)
1. LearnableClasses
2. (reserved for expansion of above)
3. (reserved for expansion of above)
4. (reserved for expansion of above)
5. (reserved for expansion of above)
6. (reserved for expansion of above)
7. (reserved for expansion of above)
8. (reserved for expansion of above)
9. HurtCategoryBonus (damaging spells only)
10. (reserved for expansion of above)
11. (reserved for expansion of above)
12. (reserved for expansion of above)
13. AttributeEffectFlags
0x0001 Subtractive (Damage to attribute)
0x0002 Additive (Healing to attribute)
0x0004 Undead Only
0x0008 Ignore Defense
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.