Install:
replace "MissionCaseExpedition.class.php" in following Folder:
...\htdocs\2moons-2.0-master\includes\classes\missions
replace "FLEET.php" in following Folder (Yet only german version)
...\htdocs\2moons-2.0-master\language\de
What does this Mod do?
Display All
Also i've made a few changes to the Reward calculations with more balanced Rewards and also a small percentage to win big in a Expedition. And added some new german Texts
replace "MissionCaseExpedition.class.php" in following Folder:
...\htdocs\2moons-2.0-master\includes\classes\missions
replace "FLEET.php" in following Folder (Yet only german version)
...\htdocs\2moons-2.0-master\language\de
What does this Mod do?
PHP Source Code
- $GetTrigger = mt_rand(1, 1000); // Chance in Promille 1/1000
- if(($GetTrigger >= 0) & ($GetTrigger < 100)) // Get Event 1 "Ress Found" has a Chance of 10% to happen
- {
- $GetEvent = 1;
- }
- elseif(($GetTrigger >= 100) & ($GetTrigger < 150)) // Get Event 2 "DM Found" has a Chance of 5% to happen
- {
- $GetEvent = 2;
- }
- elseif(($GetTrigger >= 150) & ($GetTrigger < 300)) // Get Event 3 "Ships Found" has a Chance of 15% to happen
- {
- $GetEvent = 3;
- }
- elseif(($GetTrigger >= 300) & ($GetTrigger < 400)) // Get Event 4 "Fight" has a Chance of 10% to happen
- {
- $GetEvent = 4;
- }
- elseif(($GetTrigger >= 300) & ($GetTrigger < 310)) // Get Event 5 "Fleet Loss" has a Chance of 1% to happen
- {
- $GetEvent = 5;
- }
- elseif(($GetTrigger >= 310) & ($GetTrigger < 510)) // Get Event 6 "Change Flytime" has a Chance of 20% to happen
- {
- $GetEvent = 6;
- }
- else // Get Event 7 "Nothing" has a Chance of 49% to happen
- {
- $GetEvent = 7;
- }
Also i've made a few changes to the Reward calculations with more balanced Rewards and also a small percentage to win big in a Expedition. And added some new german Texts