[action_MoveMod] isVisible:if not self.tags(includes='接入移动模块D') temporarilyAddTags:接入移动模块D setUnitStats:moveSpeed+=0.6 text:Activate MoveMod description:The mechanical magic dragon mobile module is being accessed text_zh:接入移动模块 description_zh:机械魔龙移动模块接入中 price:5000 buildSpeed:40s [core] radius:20 @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:3500 selfRegenRate:0.12 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:NONE image_shadow:AUTO shadowOffsetX:-2 shadowOffsetY:-7 imageScale:1 lock_body_rotation_with_main_turret:true dustEffect: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:-8 copyFrom:1 [leg_4] x:-12 y:-8 copyFrom:1 [attack] canAttack:true canAttackFlyingUnits:true canAttackLandUnits:true canAttackUnderwaterUnits:false isFixedFiring:false turretSize:30 turretTurnSpeed:3.4 maxAttackRange:310 shootDelay:0.15s [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_2] x:0 y:0 copyFrom:1 barrelX:6 [projectile_1] shieldDefectionMultiplier:2 directDamage:12 lightingEffect:true life:12 speed:0 color:#FFCB2E frame:1 instant:true [movement] movementType:HOVER moveSpeed:0 moveAccelerationSpeed:0.5 moveDecelerationSpeed:0.17 maxTurnSpeed:2.4 turnAcceleration:0.3 moveIgnoringBody:false [action_升级] text:Upgrade description:- text_zh:升 级 description_zh:- price:0 iconImage:ROOT:/assets/magicdragonimg/dragon/升级.png buildSpeed:40s convertTo:遗落之龙 isLocked:true [ai] useAsBuilder: true #----血条------ [decal_血条] layer:afterBody image:ROOT:/assets/public/hpbar.png imageScaleX:(self.hp/self.maxHp)*84 alwaysStartDirAtZero:true dirOffset:0 color:#8c8c8c yOffsetAbsolute:39 pivotOffset:0 #Thanks 杰厕灵 in Code xOffsetAbsolute: ((1-(self.hp / self.maxHp)) * (-${core.radius}/0.5)) #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-none-number.png imageScale:0.7 frame: memory.#[${A}] frame_width:6 frame_height:8 isVisible:if not self.hp(full=true) alwayStartDirAtZero:true onlyWhileAlive:true onlyOnNonPreview:true xOffsetAbsolute: 5 #判定单位血量满的情况 [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 isVisible:if self.hp(full=true) 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