|
|
本帖最后由 7901000 于 2024-8-10 14:54 编辑
做了一个抽奖超武,但是每次抽奖出来的单位都是同意的单位,而不是随机单位,各位大佬帮我看下哪里有问题。
rulesmd
代码如下
[CHOUJIANG]
Name=CHOUJIANG
Type=UnitDelivery
Action=ChronoSphere
Cursor=ChronoSphere
UIName=Name:CHOUJIANG
SW.Sound=ChronosphereMove
IsPowered=false
ShowTimer=no
SidebarPCX=CHAOJICHOUKA.PCX
RechargeTime=0.05
SW.Animation=chronofd
SuspendVoice=
ChargingVoice=
Deliver.Types=SCTZ1,SCTZ12,SCTZ4,SCTZ5,SCTZ6,SCTZ7,SCTZ11,SCTZ14,SCTZ15,SCTZ16
RechargeVoice=
ImpatientVoice=
SW.AITargeting=None
DisableableFromShell=no
FlashSidebarTabFrames=120
SW.AnimationVisibility=all
SW.AllowAI=no
SW.ShowCameo=yes
;SW.UseAITargeting=yes
;SW.AITargeting=Self
Money.Amount=0
SW.Shots=-1
SW.InitialReady=true
CameoPriority=2
[SCTZ1]
Image=SREF
ROT=5
Cost=1299
Name=Demolitions Truck
Size=3
Armor=light
Owner=Russians,Confederation,Africans,Arabs,YuriCountry,British,French,Germans,Americans,Alliance
Sight=2
Speed=5
Crewed=no
Points=40
Turret=no
UIName=Name:SCTZ
Weight=2
Crusher=no
Soylent=1500
Category=AFV
DieSound=
Explodes=yes
Strength=20
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MaxDebris=2
MoveSound=
TechLevel=-1
VoiceMove=
GuardRange=2
CreateSound=
SelfHealing=no
ThreatPosed=50
VoiceAttack=
VoiceSelect=
CanRetaliate=no
MovementZone=Destroyer
Prerequisite=NAWEAP1
Insignificant=yes
VoiceFeedback=
DebrisMaximums=0
MaxDebris=0
DamageParticleSystems=SparkSys,SmallGreySSys
AllowedToStartInMultiplayer=no
DeathWeapon=LIWU
DestroyAnim=SREF,SREFE,TTNK1,DATQ,TQTK,DATANS
DestroyAnim.Random=yes
AttachEffect.Animation=ZS
AttachEffect.Duration=-1
artmd
代码如下
[SCTZ1]
Voxel=no
[ZS]
Damage=99
[SREF] ;SREF
Translucent=no
CreateUnit=SREF,SREFE,TTNK1,DATQ,TQTK,DATANS
CreateUnit.Owner=Killer
CreateUnit.ConsiderPathfinding=yes
|
|