Yo guys
I need your help, I'm about to lose my mind on this problem.
I try to change the projectile of a charged attack of a custom unit, but whatever I try, it continu to use this #@&§8 ProjectileProtoUnit.
I change it on a satyr, it work like a charm. It made other test on some other unit, and it seems the unit must be tagged as "MythUnit", or it doesn't work. But even with this trick, it messed up on my custom unit.
But the most incredible fact I discovered : It finally work in editor mode. Not in playtest session, I mean when you can editate the scenario.
I'm on the new extension "tale of the dragon". I don't know if it matter. If you guys have any piece of solution I'll take it
Here is the code of my unit (be ready for the 10 minutes to scroll down, it's a little massif)
<unit id="931" name="Amazon elite">
<dbid> x< /dbid>
<displaynameid> 10< /displaynameid>
<footprint> Footprint Military< /footprint>
<icon> Amazon elite icon< /icon>
<maxcontained> 1< /maxcontained>
<rechargetime> 10< /rechargetime>
<containedattack> 0.0500< /containedattack>
<initialhitpoints> 200.0000< /initialhitpoints>
<maxhitpoints> 200.0000< /maxhitpoints>
<los> 36.0000< /los>
<AutoAttackRange> 35< /AutoAttackRange>
<portraiticon> Amazon elite icon< /portraiticon>
<obstructionradiusx> 0.4900< /obstructionradiusx>
<obstructionradiusz> 0.4900< /obstructionradiusz>
<soundvariant> pierce< /soundvariant>
<ballisticsplashproto> Splash< /ballisticsplashproto>
<formationcategory> Protected< /formationcategory>
<maxvelocity> 6.0000< /maxvelocity>
<movementtype> land< /movementtype>
<turnrate> 18.0000< /turnrate>
<projectileprotounit> Arrow Flaming< /projectileprotounit>
<unitaitype> RangedCombative< /unitaitype>
<populationcount> 15< /populationcount>
<trainpoints> 14.0000< /trainpoints>
<allowedage> 2< /allowedage>
<cost resourcetype="Gold"> 150.0000< /cost>
<bounty resourcetype="food"> 500.0800< /bounty>
<bountyfactor resourcetype="Favor"> 1.0000< /bountyfactor>
<rollovertextid> k< /rollovertextid>
<rolloverbonusdamageid> 17312< /rolloverbonusdamageid>
<rolloveruseagainstid> 17389< /rolloveruseagainstid>
<rollovercounterwithid> 17424< /rollovercounterwithid>
<rolloverupgradeatid> 17487< /rolloverupgradeatid>
<buttonpos column="2" row="0"> < /buttonpos>
<armor damagetype="Hack" percentflag="1"> 0.6< /armor>
<armor damagetype="Pierce" percentflag="1"> 0.72< /armor>
<armor damagetype="Crush" percentflag="1"> 0.8< /armor>
<allowedculture> Atlantean< /allowedculture>
<contain external="1"> Relic< /contain>
<unittype> LogicalTypeCanBeHealed< /unittype>
<unittype> LogicalTypeAffectedByRestoration< /unittype>
<unittype> LogicalTypeMilitaryUnitsAndBuildings< /unittype>
<unittype> LogicalTypeParticipatesInBattlecries< /unittype>
<unittype> LogicalTypeTornadoAttack< /unittype>
<unittype> LogicalTypeValidFlamingWeaponsTarget< /unittype>
<unittype> LogicalTypeConvertsHerds< /unittype>
<unittype> LogicalTypeValidBoltTarget< /unittype>
<unittype> LogicalTypeFimbulWinterTCEvalType< /unittype>
<unittype> LogicalTypeEarthquakeAttack< /unittype>
<unittype> LogicalTypeFavoriteUnit< /unittype>
<unittype> LogicalTypeValidSpyTarget< /unittype>
<unittype> LogicalTypeValidShiftingSandsTarget< /unittype>
<unittype> LogicalTypePredatorsAttack< /unittype>
<unittype> LogicalTypeNeededForVictory< /unittype>
<unittype> LogicalTypeHandUnitsAutoAttack< /unittype>
<unittype> LogicalTypeValidFrostTarget< /unittype>
<unittype> LogicalTypeLandMilitary< /unittype>
<unittype> LogicalTypeValidSPCUnitsDeadCondition< /unittype>
<unittype> LogicalTypeAffectedByHealingSpring< /unittype>
<unittype> LogicalTypeUnitsNotBuildings< /unittype>
<unittype> LogicalTypeRangedUnitsAutoAttack< /unittype>