注册 | 登录

游侠NETSHOW论坛





游侠NETSHOW论坛 游侠NETSHOW论坛 一修大师讨论区 明日之星2 Rising Star 2
查看: 548|回复: 11
打印 上一主题 下一主题

[求助] 明日之星2 Rising Star 2 [复制链接]

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
跳转到指定楼层
楼主
发表于 2024-9-20 16:40:52 |只看该作者 |倒序浏览
https://down.ali213.net/pcgame/risstar2.html  

求个修改器



使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
沙发
发表于 2024-9-22 07:46:39 |只看该作者
记一下自己的修改
初始钞票
InstrumentType
startingMoney
初始野心
Musician

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
板凳
发表于 2024-9-22 08:40:58 |只看该作者
性格变更频率
setNpcAttitudeAdjustmentFrequency

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
地板
发表于 2024-9-22 09:08:46 |只看该作者
experienceRank

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
5#
发表于 2024-9-23 07:36:30 |只看该作者
                                        this.addExperience(rng.getNextValue(0, 0) + rng.getNextValue(0, 0) * this.level, false);

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
6#
发表于 2024-9-23 07:40:21 |只看该作者
                public ManagerLocation(Block block, int level, Randomizer rng)

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
7#
发表于 2024-9-23 09:14:10 |只看该作者
                        {
                                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) }));
                                }
                        }

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
8#
发表于 2024-9-23 09:20:17 |只看该作者
                                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 });
                                }

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
9#
发表于 2024-9-23 09:50:33 |只看该作者
                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();

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
10#
发表于 2024-9-23 09:55:19 |只看该作者
BuskingCutscene 街头表演

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
11#
发表于 2024-9-23 10:11:16 |只看该作者
      Equipment.reduceBandEquipmentCondition(3, true);  设备损坏

使用道具 举报

帖子
303
精华
0
积分
152
金钱
2841
荣誉
0
人气
1
评议
0
12#
发表于 2024-9-23 11:01:29 |只看该作者
                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 });
                        }

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-11-4 18:57 , Processed in 0.344148 second(s), 12 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到