Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LuckyCoinConditionSetter.cs
Go to the documentation of this file.
2
4{
5 private int _timesToRun;
6
7 public LuckyCoinConditionSetter(int timesToRunMultiplier)
8 {
9 _timesToRun = timesToRunMultiplier;
10 }
11
13 {
14 int netID = info.npcVictim.netID;
15 if (netID != 216 && netID != 491)
16 {
17 return 0;
18 }
19 return _timesToRun;
20 }
21
22 public void Setup(SimulatorInfo info)
23 {
24 }
25
26 public void TearDown(SimulatorInfo info)
27 {
28 }
29}