You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tabeas edited this page Jun 11, 2011
·
2 revisions
With the addition of version 1.0.4 godmode has been removed from the code. You can simply re-add this however.
How?
Ok first thing you want to do is go into your Main.cs file and go down to the bottom of your variables. You want to add the code public static bool godMode = false;
Next you want to go into your Player.cs file and click on the search bar at the top. Then search for (this.immune).
Once you have found this, you want to add || Main.godMode after the this.immune so you will end up with the line if (this.immune || Main.godMode )
Hooking it to your ModClass.cs keys
If you already have your ModClass.cs setup for "key binds" then you can simply add a code like this.