1. spells skills

Locked
User avatar
rupuzioks
Site Admin
Posts: 555
Joined: Sun Nov 13, 2011 2:57 pm

1. spells skills

Post by rupuzioks » Wed Oct 07, 2015 11:39 am

D2 07 00 00 00 00 F4 FC 03 00 03 00
F4 FC 03 = 3FCF4 length

00000020 - 0003FD13

example:

01 00 01 00 05 01 01 00 00 00 00 00 00 00 00 00 0F 00 E8 03 00 00 D0 07 00 00
01 00 0F 00 01 01 04 00 00 00 01 00 00 00 05 00 00 00 D0 07 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 00 00

1. 01 00 - spell/skill effect ID
2. 01 00 - spell/skill type ID
3. 05 01 01 00 00 00 00 00 00 00 00 00 - spell/skill requirements (4 sets)
LC :
piercing 01 01
blade 01 02
blunt 01 03
armor 01 04

HC:
blade 02 01
blunt 02 02
armor 02 03
shield 02 04

RC:
bow 03 01
xbow 03 02

WM:
life 04 01
nature 04 02
boons 04 03

EM:
fire 05 01
ice 05 02
earth 05 03

MM:
enchantment 06 01
offensive 06 02
defensive 06 03

BM:
death 07 01
necro 07 02
curse 07 03
4. 0F 00 - mana cost to cast
5. E8 03 00 00 - casting time in ms
6. D0 07 00 00 - recast time in ms
7. 01 00 - min casting range
8. 0F 00 - max casting range
9. 01 - casting target

01 - enemy
02 - player/ally/NPC
03 - other objects/world

10. 01 - casting target type
cast type:

01 - Figure
02 - Building
03 - Object
04 - World
05 - Area

11. 04 00 00 00 01 00 00 00 05 00 00 00 D0 07 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 00 00
- spell/skill stats (unique for each type)
Tempus et vita, tempus et mortis

User avatar
Witchcraft
Posts: 89
Joined: Sun Aug 02, 2015 3:13 pm

Re: spells/skills

Post by Witchcraft » Fri Mar 25, 2016 5:17 pm

rupuzioks wrote: 10. 04 00 00 00 01 00 00 00 05 00 00 00 D0 07 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 00 00
- spell/skill stats (unique for each type)
in case of FireBurst:

04 00 00 00: impact damage
01 00 00 00: damage over time
05 00 00 00: how many times the damage over time is inflicted
D0 07 00 00: intervall of extra damage (reduce the time to E8 03, which means 1,0 sec, makes the damage inflict faster)
64 00 00 00: end of the data.

in case of FireBall: note that there are two different places for the FireBall to edit:

0C 00: FireBall: contains the necessary skills (05 01 04 00) and other informations I haven't decoded yet.

93 00: FireBallEffect: contains all informations about damage and preparation times:

93 00 05 01 04 00 00 00 00 00 00 00 00 00 00 00 E8 03 00 00 88 13 00 00 01 00 0F 00 01 01 19 00 00 00 04 00 00 00 D0 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00

05 01 04 00: required skill (05 00 for Elemental Magic, 01 00 for Fire, 04 00 for LV 4)
E8 03 00 00: preparation time for the spell in ms
88 13 00 00: cooldown time in ms
01 00: minimum range
0F 00: maximum range
01 01: spell style (don't edit it or the spell becomes useless)
19 00 00 00: impact damage
04 00 00 00: damage over time
12 00 00 00: how many times the damage over time is inflicted
d0 07 00 00: interval of damage over time in ms

note that I have edited the damage over time and the amount of damage over time already. The fact that it worked shows that these are the digits to edit it.

in case RainOfFire/Blizzard/StoneRain:

RainOfFire: 49 00 05 01 0C 00 00 00 00 00 00 00 00 00 A0 00 B8 0B 00 00 10 27 00 00 01 00 0F 00 01 04 E8 03 00 00 0C 00 00 00 07 00 00 00 05 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00

49 00: ID of the spell

05 01 0C 00: required skills (0C 00 for LV 12)

A0 00: mana costs
B8 0B 00 00: preparation time of spell in ms
10 27 00 00: cooldown time in ms
01 00: minimum range
0F 00: maximum range
01 04: style of spell
E8 03 00 00: duration of area effect in ms
0C 00 00 00: interval of projectiles that impact in ms
07 00 00 00 [x] 05 00 00 00: area where the projectiles impact (length x width). You can extend the spell to the whole map or make the projectiles impact on only one place (01 00 00 00 01 00 00 00). Note that the first place is the place you selected with your cursor to cast this spell.
01 01: style of the 2nd spell (FireBurst)
64 00: end of line

Locked