Persuade

Persuade is an action that can be taken towards other Characters not members of the Player Sect. It can be split into two types, persuade to join the Player Sect, or persuade to join a Shendao Cultivator's Divine Realm as a Core Follower.

## Sect Persuade

The success rate of Sect Persuade depends on the persuader's Social Contact Base Success (influenced by Charisma, Social, and certain Traits), as well as the target's Mood and Cultivation Level.

The success rate (where 1 = 100%) is:

* (Social Contact Base Success \* Mood)/(Cultivation Level² \* 25) (for Cultivators)
* (Social Contact Base Success \* Mood) (for Mortals)

Due to the squared Cultivation Level, it is extremely difficult to persuade characters with high Cultivation Level, such as Sect Elders. With 10 Charisma, 20 Social, and the Persuasive Trait, the maximum value of Social Contact Base Success is 2.22. Assuming a Mood of 200, the chance of persuading a Sect Elder with Cultivation Level 12 is 12.3%.

On the other hand, persuading Mortals will almost always succeed, unless the Mortal has very low Mood. Even with the minimum possible value for Social Contact Base Success of 0.4, a Mortal with 1 Mood has a 40% chance of success.

If the target successfully Persuaded is from a Sect, Connection may be lost depending on the target's Cultivation Level. If this causes Connection to fall below zero, Favor will also be reduced and Invaders will be sent from the Sect. The Power Level of the Invaders sent are as follows:

* Mortal: 2-4 (N/A as Connection loss is zero)
* Qi Shaping: 5-7 (N/A as Connection loss is zero)
* Core Shaping: 8-10
* Golden Core: 11-13
* Primordial Spirit: 14-16
* Demigod: 17-20 (N/A as there are no NPC Sect Demigods)

## Divine Realm Persuade

Shendao Cultivator can persuade other Cultivators to join their Divine Realm as a Core Follower. This is done by casting the Miracle "Persuade", which is unlocked with the "Hall of Devotion" building in the Divine Realm. This Miracle can only be cast in the Player Sect, therefore the Cultivators have to be invited to the Player Sect before Persuade can be attempted.

The success rate of Divine Realm Persuade depends on a variety of factors .

The topic used to Persuade the target also affects the calculation, with some topics being harder to Persuade with than others:

 Personality (`g_emJHNpcDataType.Feature`)
 Secret Knowledge (`g_emJHNpcDataType.Esoterica`)
 Weakness (`g_emJHNpcDataType.Hobby`)
 Favorites (`g_emJHNpcDataType.LikeItem`)
 Dislikes (`g_emJHNpcDataType.HateItem`)
 Mystery (`g_emJHNpcDataType.Secret`)
 Personal Treasure (`g_emJHNpcDataType.Carry`)

### Calculation of Persuade chance

Firstly, five values are generated for each Topic chosen:

* num: (Persuader's Cultivation State - Target's Cultivation State)\*20 + Persuader's Charisma\*8 + Persuader's Social\*3
	+ Cultivation State is 1 for Qi Shaping, 2 for Core Shaping, 3 for Golden Core, 4 for Primordial Spirit, 5 for Demigod.
	+ Since there are no NPC Demigods and Shendao Attainment State is equivalent to Primordial Spirit, the maximum score for this section is 3\*20+10\*8+20\*3 = 200.
* num2: Target's Relationship Favor (0-100)
* num3: Topic Difficulty
* num4: If Heart Guard is broken (Relationship Favor is >60, or if character is Naive), -50, otherwise +50
* num5: If "`Vigilance`" is true, 2, otherwise 1. Vigilance is related to questioning someone related to in-game secrets.

The Topic's Persuade chance is (num+num2-num3+num4)/num5, in %.

In-game, the success rate will be displayed in the following tiers.

* >=100%: a wake-up call
* 30-100%: quite interested
* 10-30%: think about
* 0-10%: indifferent
* <0%: preaching to deaf ears

Upon successfully Persuading a Cultivator, the Extent of Belief is set to the Predestiny value and then incremented by 0.1\*(the topic's Difficulty - 100)%, depending on the topic used to persuade them. For example, Persuading a cultivator with a Favorite item will increase Predestiny by 10%. As a result, it makes more sense to Persuade Qi Shaping cultivators for Divine Realm, as they do not result in loss of Favor or Connection. They are also easier to Persuade due to their low Cultivation Level, allowing more difficult topics to be used, which in turn increases their Extent of Belief as a Core Follower, reducing the time taken before they can be promoted to a Guard.

If the Persuasion attempt fails, their Relation Favor will drop significantly, however Persuasion can be re-attempted once it is increased back to its previous level, with no limit to the number of attempts made.

If the Persuasion attempt succeeds, the Cultivator will be removed from the map and the Shendao cultivator will gain a new Core Follower. If the target successfully Persuaded is from a Sect, Connection may be lost depending on the target's Cultivation Level. If this causes Connection to fall below zero, Favor will also be reduced and Invaders will be sent from the Sect. The Power Level of the Invaders sent are as follows:

* Mortal: 2-4 (N/A as Connection loss is zero)
* Qi Shaping: 5-7 (N/A as Connection loss is zero)
* Core Shaping: 8-10
* Golden Core: 11-13
* Primordial Spirit: 14-16
* Demigod: 17-20 (N/A as there are no NPC Sect Demigods)

## References

1. ↑ `XiaWorld.JobWalkerHelp.OnLeaveJob`
2. ↑ 2.0 2.1 `XiaWorld.SchoolGlobleMgr.RobSchoolNpc`
3. ↑ 3.0 3.1 `GameDefine.RobSchoolNpcEnemeyPower`
4. ↑ 4.0 4.1 `Wnd_JianghuTalk.QuanhuaTalkAbout`
5. ↑ `Wnd_JianghuTalk.GetQuanHuaRate`
6. ↑ `XiaWorld.g_emGongStageLevel`
7. ↑ `XiaWorld.GameDefine.QuanhuaRate2Desc`
8. ↑ `XiaWorld.GameDefine.JHNpcKnowOtherBaseP`