Lopaskurwa
Active Member
- Joined
- Oct 6, 2017
- Messages
- 873
- Solutions
- 2
- Reaction score
- 49
So hi
i have again problems with transform system this so dumb. -_-
So i'll try to explain so i made more transforms and more problems poop up so everything is fine with this one
then i create another transform for the same vocation and shits starts to happen. So i made these two more
So first problem is they cant revert dunno why second problem is that this one [5] = {voc = 5, gets after transform effect but as you can see aura is nil but somehow he gets [36] = {voc = 36, vocation effect with id 86 this is so stupid. To make it clear id 5 gets after transform effect even if aura is nil and id 36 doesnt get any effect but aura have effect id this is so fucked up.
vocations.xml
casual form without any forms
First form
Second form
last form
Thanks to Itutorial for make such a perfect working system
i have again problems with transform system this so dumb. -_-
So i'll try to explain so i made more transforms and more problems poop up so everything is fine with this one
Code:
[1] = {voc = 1, newVoc = 5, from_looktype = 2, looktype = 3, level = 50, rage = 0, mana = 10, addHealth = 2500, addMana = 2500, effect = 79, aura = nil, constant = false},
Code:
[5] = {voc = 5, newVoc = 36, from_looktype = 5, looktype = 5, level = 100, rage = 0, mana = 10, addHealth = 2500, addMana = 2500, effect = 79, aura = nil, constant = false},
[36] = {voc = 36, newVoc = 37, from_looktype = 37, looktype = 5, level = 150, rage = 0, mana = 10, addHealth = 2500, addMana = 2500, effect = 78, aura = 86, constant = false}
vocations.xml
casual form without any forms
Code:
<vocation id="1" name="Goku" description="Goku" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1" attackspeed="2000" basespeed="220" soulmax="100" gainsoulticks="120" fromvoc="1">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0" />
<skill id="0" multiplier="1.5" />
<skill id="1" multiplier="2.0" />
<skill id="2" multiplier="2.0" />
<skill id="3" multiplier="2.0" />
<skill id="4" multiplier="2.0" />
<skill id="5" multiplier="1.5" />
<skill id="6" multiplier="1.1" />
</vocation>
Code:
<vocation id="5" name="Goku SSJ" description="Goku" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1" attackspeed="1800" basespeed="220" soulmax="100" gainsoulticks="120" fromvoc="5">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0" />
<skill id="0" multiplier="1.5" />
<skill id="1" multiplier="2.0" />
<skill id="2" multiplier="2.0" />
<skill id="3" multiplier="2.0" />
<skill id="4" multiplier="2.0" />
<skill id="5" multiplier="1.5" />
<skill id="6" multiplier="1.1" />
</vocation>
Code:
<vocation id="36" name="Goku SSJ" description="Goku" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1" attackspeed="1650" basespeed="220" soulmax="100" gainsoulticks="120" fromvoc="36">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0" />
<skill id="0" multiplier="1.5" />
<skill id="1" multiplier="2.0" />
<skill id="2" multiplier="2.0" />
<skill id="3" multiplier="2.0" />
<skill id="4" multiplier="2.0" />
<skill id="5" multiplier="1.5" />
<skill id="6" multiplier="1.1" />
</vocation>
Code:
<vocation id="37" name="Goku SSJ2" description="Goku" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1" attackspeed="1450" basespeed="220" soulmax="100" gainsoulticks="120" fromvoc="37">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0" />
<skill id="0" multiplier="1.5" />
<skill id="1" multiplier="2.0" />
<skill id="2" multiplier="2.0" />
<skill id="3" multiplier="2.0" />
<skill id="4" multiplier="2.0" />
<skill id="5" multiplier="1.5" />
<skill id="6" multiplier="1.1" />
</vocation>