[core] radius:45 @memory #:number[] updateUnitMemory: #[0]= self.hp%10, #[1]= int((self.hp%100)/10), #[2]= int((self.hp%1000)/100),#[3]= int((self.hp%10000)/1000) updateUnitMemoryRate:0 name:遗落之龙 displayText: Lose Dragon displayDescription: -After the blue incident, in order to redeem their sins.\n-According to her guidance, she came here and set about establishing her own dynasty. \n-However, he felt that everything was unreal due to repeated exercises and battles. \n-Maybe soon she wonot be able to bury anything.\n-Use the mysterious power to launch lightning that can break the shield, and because of the old sun god yilaji machine armor transformation, it has 5 points of armor. It can offset up to 5 points of normal damage. displayText_zh: 遗落之龙 displayDescription_zh: -蔚蓝事件之后,为了赎清自己的罪恶。根据她的指引来到了这边,并着手建立起自己的王朝。\n-但是,一次又一次的演习战斗让他感觉一切都是那么的不真实。\n-或许,很快她就无法掩埋任何事情了。\n-利用神秘的力量发射可以破盾闪电,并且由于旧日伊拉吉机甲改造,拥有5点护甲。可以抵消常规伤害最多5点。 class:CustomUnitMetadata price:1299 maxHp:2850 mass:80000 autoTriggerCooldownTime:0.1s techLevel:2 buildSpeed:31.4s armour:5 tags:小龙,T1小龙,龙 generation_resources: credits=12 canRepairBuildings: true canRepairUnits : true canReclaimResources: true autoRepair: true nanoRange: 240 nanoRepairSpeed: 1.8 nanoBuildSpeed: 1.8 [canBuild_1] name: reclaim,MagicDragonLand,循环序列,GRC,MAB,MSB,热流塔,模块化炮塔底座,翠绿灵塔 pos: 1 [graphics] total_frames:1 image:ROOT:/assets/magicdragonimg/dragon/.Dragon.png image_wreak:NONE image_turret:SHARED:blank.png image_shadow:AUTO shadowOffsetX:-2 shadowOffsetY:-7 imageScale:1 scaleTurretImagesTo: 0.4 lock_body_rotation_with_main_turret:true showHealthBar:false [leg_1] x:-12 y:12 attach_x:0 attach_y:0 moveSpeed:2.1 moveWarmUp:0.1s rotateSpeed:7 heightSpeed:1 resetAngle:0 image_foot:ROOT:/assets/magicdragonimg/dragon/leg.png holdDisMin:0 holdDisMax:10 [leg_2] x:12 y:12 copyFrom:1 [leg_3] x:12 y:-20 copyFrom:1 [leg_4] x:-12 y:-20 copyFrom:1 [attack] canAttack:true canAttackFlyingUnits:true canAttackLandUnits:true canAttackUnderwaterUnits:false isFixedFiring:false turretSize:30 turretTurnSpeed:3.4 maxAttackRange:310 shootDelay:0.05s [turret_1] barrelX:-5 x:0 aimOffsetSpread:0 y:0 size:48 projectile:1 shoot_sound:NONE shoot_sound_vol:1 shoot_flame:NONE canShoot:true recoilReturnTime:32 [turret_3] barrelX:-5 x:0 aimOffsetSpread:0 y:0 size:0 projectile:1 shoot_sound:NONE shoot_sound_vol:1 shoot_flame:NONE image:ROOT:/assets/magicdragonimg/modconon/UI.png canShoot:false recoilReturnTime:32 isMainNanoTurret:true [turret_2] x:0 y:0 copyFrom:1 barrelX:6 [projectile_1] areaDamage:4 areaRadius:40 areaDamageNoFalloff:true life:6 flameWeapon:false armourIgnoreAmount:60 instant:true instantReuseLast:true buildingDamageMultiplier:0.35 deflectionPower:-1 shieldDefectionMultiplier:0.8 shieldDamageMultiplier:1.8 instantReuseLast_alsoChangeTurretAim:true moveWithParent:true beamImage:SHARED:beam1.png beamImageEnd:SHARED:beam1_end.png beamImageStart:SHARED:beam1_start.png beamImageOffsetRate:2 sweepOffsetFromTargetRadius:0.1 areaHitAirAndLandAtSameTime:true beamImageStartRotated:true beamImageEndRotated:true color:#BB0000 [movement] movementType:HOVER moveSpeed:0.4 moveAccelerationSpeed:0.5 moveDecelerationSpeed:0.17 maxTurnSpeed:2.4 turnAcceleration:0.3 moveIgnoringBody:false [action_升级] text:Upgrade description:-Transformed into a more powerful Dragon of the Black Abyss, with T2 is direct building rights. text_zh:升 级 description_zh:-改造为更加强大的黑渊之龙,并且拥有T2的直接建筑权利。 price:7200 buildSpeed:40s convertTo:黑渊之龙 showMessageToAllPlayers:Black abyss,Infinite fear!% The Dragon of the Black Abyss of {self.playerName} has arrived on the battlefield. showMessageToAllPlayers_zh:黑色的深渊,无穷的恐惧!%{self.playerName}的黑渊之龙已抵达战场。 [ai] useAsBuilder: true #----血条------ [decal_血条] layer:afterBody image:ROOT:/assets/public/hpbar.png imageScaleX:(self.hp/self.maxHp)*86 alwaysStartDirAtZero:true dirOffset:0 color:#8c8c8c yOffsetAbsolute:39 pivotOffset:0 #Thanks 杰厕灵 in Code xOffsetAbsolute: ((1-(self.hp / self.maxHp)) * (-${core.radius}/1.12)) #isVisible:if self.hp > self.maxHp*0.6 [decal_血条底板] image:ROOT:/assets/magicdragonimg/dragon/dragon-hpbar.png alwaysStartDirAtZero:true dirOffset:0 imageScaleX:1.3 yOffsetAbsolute:39 xOffsetAbsolute:3 pivotOffset:0 order:-1 layer:onTop teamColors:true [decal_xis_个位] @define A:0 layer:onTop order:10.01 yOffsetAbsolute:39 image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png imageScale:0.7 frame: memory.#[${A}] frame_width:6 frame_height:8 alwayStartDirAtZero:true onlyWhileAlive:true onlyOnNonPreview:true xOffsetAbsolute: 5 [decal_xis_十位] @copyFromSection: decal_xis_个位 @define A:1 image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png isVisible:if memory.#[${A}] != 0 or memory.#[2] != 0 or memory.#[3] != 0 xOffsetAbsolute:0 [decal_xis_百位] @copyFromSection: decal_xis_个位 @define A:2 image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png isVisible:if memory.#[${A}] != 0 or memory.#[3] != 0 xOffsetAbsolute:-5 [decal_xis_千位] @copyFromSection: decal_xis_个位 @define A:3 image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png isVisible:if memory.#[${A}] != 0 xOffsetAbsolute:-10