Logo Platform
logo amplifiers simplified

Giving a unit an ability from a weapon

Reply
Copied to clipboard!
9 years ago
Jan 27, 2016, 5:08:12 AM
If I wanted to give a unit the slowdown ability, for example, where would I put the code to make the icon appear in their ability list.



I see the abilities for the weapons in ItemDefinitions(Base) and the effects in SimulationDescriptors(UnitAbility). I also see UnitAbility being used in UnitBodyDefinitions. Is there a way to use UnitAbility(ies) for hero skills at all?
0Send private message
9 years ago
Jan 28, 2016, 4:56:05 AM
This is my other big question, if anyone has any thoughts.



I know that, at worst, I can just add the effects without linking them to capacities (but that's not very obvious or pretty).



I just can't think of any examples of implemented capacities that don't come from an affinity, item or unit body definition.
0Send private message
9 years ago
Jan 28, 2016, 4:59:23 AM
Eslek Tarosh has a skill that upgrades his chain lightning capacity, though I don't know how that works.
0Send private message
9 years ago
Jan 28, 2016, 4:53:32 PM
I hadn't even thought of him. I'll go and take a look. Thanks!
0Send private message
9 years ago
Jan 29, 2016, 2:18:45 AM
I am so excited. Thanks for the advice, it helped!



[CODE]



AffinityHaunts

HeroSkillLeaderBattle19 | HeroSkillGovernor34









[/CODE]



If anyone is curious, you can put the unit ability in UnitSkills[Hero] like so! Normally, most of the effects go in SimulationDescriptors[SkillsHero], which made it confusing.



Soooo happy! <3
0Send private message
9 years ago
Jan 29, 2016, 3:29:28 AM
There's still something odd going on. I wanted to give the stun capacity to a ranged hero, and it showed up but did not work. However, I was able to give a normally ranged capacity to the ranged hero just fine, so yay, it's a start.



Thanks again KBSMilk2, you are a life saver!
0Send private message
?

Click here to login

Reply
Comment