mirror of
				https://github.com/vegapnk/RJW-Genes.git
				synced 2024-08-15 00:23:31 +00:00 
			
		
		
		
	Fixed Cocoon Effect, gave it a cool down
This commit is contained in:
		
							parent
							
								
									fead22f28c
								
							
						
					
					
						commit
						81efecef8b
					
				
					 5 changed files with 11 additions and 50 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -11,7 +11,9 @@
 | 
				
			||||||
    <warmupMote>Mote_CocoonStencil</warmupMote>
 | 
					    <warmupMote>Mote_CocoonStencil</warmupMote>
 | 
				
			||||||
    <warmupEffecter>CocoonWeave</warmupEffecter>
 | 
					    <warmupEffecter>CocoonWeave</warmupEffecter>
 | 
				
			||||||
    <jobDef>CastAbilityOnThingMelee</jobDef>
 | 
					    <jobDef>CastAbilityOnThingMelee</jobDef>
 | 
				
			||||||
    <displayOrder>403</displayOrder>
 | 
					    <displayOrder>404</displayOrder>
 | 
				
			||||||
 | 
					    <!-- 30k Ticks = 12h -->
 | 
				
			||||||
 | 
					    <cooldownTicksRange>30000</cooldownTicksRange>
 | 
				
			||||||
    <verbProperties>
 | 
					    <verbProperties>
 | 
				
			||||||
      <verbClass>Verb_CastAbilityTouch</verbClass>
 | 
					      <verbClass>Verb_CastAbilityTouch</verbClass>
 | 
				
			||||||
      <drawAimPie>false</drawAimPie>
 | 
					      <drawAimPie>false</drawAimPie>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@
 | 
				
			||||||
    <description>Enhance the strength and resilience of your naked body with fertilin.</description>
 | 
					    <description>Enhance the strength and resilience of your naked body with fertilin.</description>
 | 
				
			||||||
    <iconPath>Genes/Icons/rjw_naked_prowess</iconPath>
 | 
					    <iconPath>Genes/Icons/rjw_naked_prowess</iconPath>
 | 
				
			||||||
    <warmupMoteSocialSymbol>Things/Mote/Heart</warmupMoteSocialSymbol>
 | 
					    <warmupMoteSocialSymbol>Things/Mote/Heart</warmupMoteSocialSymbol>
 | 
				
			||||||
	<jobDef>CastAbilityOnThing</jobDef>
 | 
						  <jobDef>CastAbilityOnThing</jobDef>
 | 
				
			||||||
    <targetRequired>False</targetRequired>
 | 
					    <targetRequired>False</targetRequired>
 | 
				
			||||||
    <canUseAoeToGetTargets>False</canUseAoeToGetTargets>
 | 
					    <canUseAoeToGetTargets>False</canUseAoeToGetTargets>
 | 
				
			||||||
    <stunTargetWhileCasting>True</stunTargetWhileCasting>
 | 
					    <stunTargetWhileCasting>True</stunTargetWhileCasting>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,7 +9,7 @@
 | 
				
			||||||
    <stunTargetWhileCasting>true</stunTargetWhileCasting>
 | 
					    <stunTargetWhileCasting>true</stunTargetWhileCasting>
 | 
				
			||||||
    <displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
 | 
					    <displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
 | 
				
			||||||
    <disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
 | 
					    <disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
 | 
				
			||||||
	<statBases>
 | 
						  <statBases>
 | 
				
			||||||
      <Ability_Duration>10</Ability_Duration>
 | 
					      <Ability_Duration>10</Ability_Duration>
 | 
				
			||||||
    </statBases>
 | 
					    </statBases>
 | 
				
			||||||
    <warmupMote>Mote_CoagulateStencil</warmupMote>
 | 
					    <warmupMote>Mote_CoagulateStencil</warmupMote>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,51 +6,24 @@
 | 
				
			||||||
    <children>
 | 
					    <children>
 | 
				
			||||||
      <li>
 | 
					      <li>
 | 
				
			||||||
        <subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
 | 
					        <subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
 | 
				
			||||||
        <moteDef>Mote_WeaveA</moteDef>
 | 
					        <fleckDef>BloodSplash</fleckDef>
 | 
				
			||||||
        <burstCount>1</burstCount>
 | 
					        <chancePerTick>0.15</chancePerTick>
 | 
				
			||||||
        <chancePerTick>0.05</chancePerTick>
 | 
					        <burstCount>2~3</burstCount>
 | 
				
			||||||
        <scale>0.25~0.5</scale>
 | 
					        <scale>0.75~1.5</scale>
 | 
				
			||||||
        <spawnLocType>RandomDrawPosOnTarget</spawnLocType>
 | 
					        <color>(244, 244, 244)</color>
 | 
				
			||||||
        <attachToSpawnThing>true</attachToSpawnThing>
 | 
					 | 
				
			||||||
      </li>
 | 
					 | 
				
			||||||
      <li>
 | 
					 | 
				
			||||||
        <subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
 | 
					 | 
				
			||||||
        <moteDef>Mote_WeaveB</moteDef>
 | 
					 | 
				
			||||||
        <burstCount>1</burstCount>
 | 
					 | 
				
			||||||
        <chancePerTick>0.05</chancePerTick>
 | 
					 | 
				
			||||||
        <scale>0.25~0.5</scale>
 | 
					 | 
				
			||||||
        <spawnLocType>RandomDrawPosOnTarget</spawnLocType>
 | 
					        <spawnLocType>RandomDrawPosOnTarget</spawnLocType>
 | 
				
			||||||
        <attachToSpawnThing>true</attachToSpawnThing>
 | 
					        <attachToSpawnThing>true</attachToSpawnThing>
 | 
				
			||||||
      </li>
 | 
					      </li>
 | 
				
			||||||
    </children>
 | 
					    </children>
 | 
				
			||||||
  </EffecterDef>
 | 
					  </EffecterDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <ThingDef ParentName="MoteBase" Name="MoteCocoonBase" Abstract="True">
 | 
					 | 
				
			||||||
    <thingClass>MoteAttached</thingClass>
 | 
					 | 
				
			||||||
    <altitudeLayer>MoteOverhead</altitudeLayer>
 | 
					 | 
				
			||||||
    <mote>
 | 
					 | 
				
			||||||
      <solidTime>0.45</solidTime>
 | 
					 | 
				
			||||||
      <fadeInTime>0.1</fadeInTime>
 | 
					 | 
				
			||||||
      <fadeOutTime>0.2</fadeOutTime>
 | 
					 | 
				
			||||||
    </mote>
 | 
					 | 
				
			||||||
    <graphicData>
 | 
					 | 
				
			||||||
      <graphicClass>Graphic_MoteWithAgeSecs</graphicClass>
 | 
					 | 
				
			||||||
      <shaderType>PawnSilhouetteStencilColorAnimated</shaderType>
 | 
					 | 
				
			||||||
      <drawSize>(0.65, 0.65)</drawSize>
 | 
					 | 
				
			||||||
      <shaderParameters>
 | 
					 | 
				
			||||||
        <_NumFrames>5</_NumFrames>
 | 
					 | 
				
			||||||
        <_FramesPerSec>7.5</_FramesPerSec>
 | 
					 | 
				
			||||||
      </shaderParameters>
 | 
					 | 
				
			||||||
    </graphicData>
 | 
					 | 
				
			||||||
  </ThingDef>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  <ThingDef ParentName="MoteBase">
 | 
					  <ThingDef ParentName="MoteBase">
 | 
				
			||||||
    <defName>Mote_CocoonStencil</defName>
 | 
					    <defName>Mote_CocoonStencil</defName>
 | 
				
			||||||
    <thingClass>MoteAttached</thingClass>
 | 
					    <thingClass>MoteAttached</thingClass>
 | 
				
			||||||
    <altitudeLayer>Terrain</altitudeLayer>
 | 
					    <altitudeLayer>Terrain</altitudeLayer>
 | 
				
			||||||
    <mote>
 | 
					    <mote>
 | 
				
			||||||
      <fadeInTime>0.1</fadeInTime>
 | 
					      <fadeInTime>0.1</fadeInTime>
 | 
				
			||||||
      <fadeOutTime>0.1</fadeOutTime>
 | 
					      <fadeOutTime>0.4</fadeOutTime>
 | 
				
			||||||
      <solidTime>999999</solidTime>
 | 
					      <solidTime>999999</solidTime>
 | 
				
			||||||
      <needsMaintenance>True</needsMaintenance>
 | 
					      <needsMaintenance>True</needsMaintenance>
 | 
				
			||||||
    </mote>
 | 
					    </mote>
 | 
				
			||||||
| 
						 | 
					@ -61,18 +34,4 @@
 | 
				
			||||||
    </graphicData>
 | 
					    </graphicData>
 | 
				
			||||||
  </ThingDef>
 | 
					  </ThingDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <ThingDef ParentName="MoteCocoonBase">
 | 
					 | 
				
			||||||
    <defName>Mote_WeaveA</defName>
 | 
					 | 
				
			||||||
    <graphicData>
 | 
					 | 
				
			||||||
      <texPath>Things/Mote/Cocoon/WeaveA</texPath>
 | 
					 | 
				
			||||||
    </graphicData>
 | 
					 | 
				
			||||||
  </ThingDef>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  <ThingDef ParentName="MoteCocoonBase">
 | 
					 | 
				
			||||||
    <defName>Mote_WeaveB</defName>
 | 
					 | 
				
			||||||
    <graphicData>
 | 
					 | 
				
			||||||
      <texPath>Things/Mote/Cocoon/WeaveB</texPath>
 | 
					 | 
				
			||||||
    </graphicData>
 | 
					 | 
				
			||||||
  </ThingDef>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</Defs>
 | 
					</Defs>
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue