Civ Modding Wiki

Search

Search IconIcon to open search

EFFECT_ADJUST_GLOBAL_WMD_STOCKPILE

Last updated Aug 8, 2022 Edit Source

This is an Effect Type. Please refer to that page for more information on Effect Type

# Info

EFFECT_ADJUST_GLOBAL_WMD_STOCKPILE

  • Class: Unknown
  • Parameters:
    • Amount Integer
      • Value to set the target player’s WMD count(s) to.
    • TargetOnly Boolean
      • If set to true, effect only applies to the target player. If false, effect applies to all players based on the number of WMDs the target player has.

# Samples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
INSERT INTO Modifiers
	(
		ModifierId,
		ModifierType
	)
VALUES
	(
		"PLAYER_TARGET_WMD_BAN",
		"MODIFIER_PLAYERS_ADJUST_WMD_STOCKPILE"
	);

INSERT INTO ModifierArguments
	(
		ModifierId,
		Name,
		Value
	)
VALUES
	(
		"PLAYER_TARGET_WMD_BAN",
		"Amount",
		0
	),
	(
		"PLAYER_TARGET_WMD_BAN",
		"TargetOnly",
		1
	);
	

Interactive Graph