sxysex 发表于 2024-9-20 16:44

Rising Star 2 明日之星2

https://bbs.3dmgame.com/thread-6533487-1-1.html
求修改器 或者修改方法


sxysex 发表于 2024-9-22 07:46

记一下自己的修改
初始钞票
InstrumentType
startingMoney
初始野心
Musician

sxysex 发表于 2024-9-22 08:40

性格变更频率
setNpcAttitudeAdjustmentFrequency

sxysex 发表于 2024-9-22 09:08

experienceRank

sxysex 发表于 2024-9-23 07:36

                                        this.addExperience(rng.getNextValue(0, 0) + rng.getNextValue(0, 0) * this.level, false);

sxysex 发表于 2024-9-23 07:40

                public ManagerLocation(Block block, int level, Randomizer rng)

sxysex 发表于 2024-9-23 09:14

                        {
                                int effectiveSkill = musician.getEffectiveSkill(SkillType.enums.PLAYING);
                                num += Common.random(effectiveSkill, effectiveSkill + 10);
                                musician.addExperience(200, false);
                                if (musician.getBaseSkill(SkillType.enums.PLAYING) < 20)
                                {
                                        musician.incrementFreeSkill(SkillType.enums.PLAYING, 1);
                                        musician.message(Localize.text("Playing Skill +{0}", new object[] { Common.formatNumber(1) }));
                                }
                        }

sxysex 发表于 2024-9-23 09:20

                                if (Common.random(1, 1) > effectiveSkill)
                                {
                                        Message.showLocalized("Repair Failed", Array.Empty<object>());
                                        Sound.play("Repair Failure", 1f, null, null);
                                        current.reduceCondition(13f, false);
                                        Stat.adjust(StatType.POINTS_REPAIRED, -3L);
                                        this.musician.addHappiness(3, Happiness.Reason.REPAIR_FAILURE);
                                }
                                else
                                {
                                        Message.showLocalized("Repair Succeeded", Array.Empty<object>());
                                        Sound.play("Repair Success", 1f, null, null);
                                        Equipment equipment = current;
                                        equipment.condition += Mathf.Min(30, num);
                                        current.maxCondition = 100f;
                                        current.musician.setConfigsToBestEquipment(EquipmentConfig.enums.ALL);
                                        this.musician.addHappiness(10, Happiness.Reason.REPAIR_SUCCESS);
                                        if (baseSkill < 100 && Common.random(0, 100) > baseSkill)
                                        {
                                                this.musician.incrementFreeSkill(SkillType.enums.REPAIR, 1);
                                                Message.showLocalized("Repair Skill +1", Array.Empty<object>());
                                        }
                                        long currentValue = Stat.adjust(StatType.POINTS_REPAIRED, (long)num);
                                        Steam.checkForSteppedAchievements("REPAIR_{0}", currentValue, new long[] { 1L, 500L, 2000L });
                                }

sxysex 发表于 2024-9-23 09:50

                public ManagerLocation(Block block, int level, Randomizer rng)
                        : base(block, rng)
                {
                        if (level == -1)
                        {
                                level = Common.random(0, 1);
                        }
                        this.nameRaw = Names.randomFull(base.city.area.country.id, Gender.M, rng);
                        this.nameLocKeyIndex = 0;
                        this.level = level;
                        this.setXpForLevel();
                        this.payPercent = 5 + level / 2;
                        this.isHired = false;
                        this.satisfaction = 70;
                        this.locationType = LocationType.MANAGER;
                        this.addToCollections();

sxysex 发表于 2024-9-23 09:55

BuskingCutscene 街头表演

sxysex 发表于 2024-9-23 10:11

                                Equipment.reduceBandEquipmentCondition(3, true);设备损坏

sxysex 发表于 2024-9-23 11:01

                private IEnumerator finishMowing()
                {
                        Glb.isJobDone = true;
                        this.lastMowedDate = Glb.date;
                        while (CityDrivingMode.instance.threeD.isCutsceneActive)
                        {
                                yield return null;
                        }
                        int num = 5000;
                        if (this is CemeteryLocation)
                        {
                                num = 7000;
                                long currentValue = Stat.adjust(StatType.CEMETERIES_LANDSCAPED, 1L);
                                Steam.checkForSteppedAchievements("MOW_CEMETERY_{0}", currentValue, new long[] { 1L, 10L, 50L });
                        }
                        else
                        {
                                long currentValue2 = Stat.adjust(StatType.PARKS_LANDSCAPED, 1L);
                                Steam.checkForSteppedAchievements("MOW_PARK_{0}", currentValue2, new long[] { 1L, 100L, 500L });
                        }
页: [1]
查看完整版本: Rising Star 2 明日之星2