How would I make a system that replaces a unit and sets the stats of the unit that replaces the old unit to the 2 times the stats of the old unit? and they both are the same lvl and have the same skills/spellbook
EX: Paladin gets to lvl 25 and he has 25 str 25 agi and 25 int so he gets replaced by Blademaster and the Blademaster would be lvl 25 have 50 str 50 agi and 50 int and the blademaster would have the exact same spellbook as the paladin.
EX: Paladin gets to lvl 25 and he has 25 str 25 agi and 25 int so he gets replaced by Blademaster and the Blademaster would be lvl 25 have 50 str 50 agi and 50 int and the blademaster would have the exact same spellbook as the paladin.