User talk:Zeofolium: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
# Cannibalism is 1 in 5 if your human... 1 in 20 if your not...? | # Cannibalism is 1 in 5 if your human... 1 in 20 if your not...? | ||
# Farming Legs effects *everything* that cost's Stamina | # Farming Legs effects *everything* that cost's Stamina | ||
# Pickpocket Weight calu (Pickpocket Skill level) * 200 + (STR) * 100 + 1000 | |||
# Gold Armour Shrines are considered bless *enchant armour* scrolls so go up to 5 (grey are +2) | |||
* Faith Tax Values | |||
* "Void Eyth" 500 | |||
* "Wind Lulwy" 25 | |||
* "Earth Opatos" 150 | |||
* "Element Itzpalt" 100 | |||
* "Machine Mani" 200 | |||
* "Harvest Kumiromi" 50 | |||
* "Luck Ehekatl" 300 | |||
* "Healing Jure" 100 | |||
* "Oblivion Yakasha" 0 | |||
* "Harmony Elin" 100 | |||
* "Trickery Kizuami" 200 | |||
* "Moonshadow Horome" 150 | |||
* "Strife Yevan" 50 | |||
<syntaxhighlight lang="c#" line="1"> | <syntaxhighlight lang="c#" line="1"> | ||
public bool CalcHit() | |||
{ | { | ||
num | if (TC != null) | ||
{ | |||
if (TC.HasCondition<ConDim>() && EClass.rnd(4) == 0) | |||
{ | |||
return Crit(); | |||
if ( | } | ||
if (TC.IsDeadOrSleeping) | |||
{ | |||
return Crit(); | |||
} | |||
int num = TC.Evalue(151); | |||
if (num != 0 && toHit < num * 10) | |||
{ | |||
int num2 = evasion * 100 / Mathf.Clamp(toHit, 1, toHit); | |||
if (num2 > 300 && EClass.rnd(num + 250) > 100) | |||
{ | |||
return EvadePlus(); | |||
} | |||
if (num2 > 200 && EClass.rnd(num + 250) > 150) | |||
{ | |||
return EvadePlus(); | |||
} | |||
if (num2 > 150 && EClass.rnd(num + 250) > 200) | |||
{ | |||
return EvadePlus(); | |||
} | |||
} | |||
if (TC.Evalue(57) > EClass.rnd(100)) | |||
{ | |||
return EvadePlus(); | |||
} | |||
} | |||
if (EClass.rnd(20) == 0) | |||
{ | |||
return true; | |||
} | |||
if (EClass.rnd(20) == 0) | |||
{ | |||
return false; | |||
} | |||
if (toHit < 1) | |||
{ | |||
return false; | |||
} | |||
if (evasion < 1) | |||
{ | |||
return true; | |||
} | |||
if (EClass.rnd(toHit) < EClass.rnd(evasion * 3 / 2)) | |||
{ | |||
return false; | |||
} | |||
if (EClass.rnd(5000) < CC.Evalue(73) + 50) | |||
{ | |||
return Crit(); | |||
} | |||
if ((float)CC.Evalue(90) + Mathf.Sqrt(CC.Evalue(134)) > (float)EClass.rnd(200)) | |||
{ | |||
return Crit(); | |||
} | |||
if (CC.Evalue(1420) > 0) | |||
{ | { | ||
int num3 = Mathf.Min(100, 100 - CC.hp * 100 / CC.MaxHP); | |||
if (num3 >= 50 && num3 * num3 * num3 * num3 / 3 > EClass.rnd(100000000)) | |||
{ | |||
return Crit(); | |||
} | |||
} | } | ||
return | return true; | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 08:30, 19 December 2024
EA 23.46 Code Dive answered questions
- Perfect evade is absolute
- Faction Luck has no effect
- Faction Growth boost dosn't care about it's level flat 1.5x
- Elemental breaths train Control Magic
- light eater and heavy eater are final multipliers on nutrition; light eater = food has more nutrition - you eat less, heavy eater = food has less effective nutrition = you eat more
- You lose Cannibalism if you go (to be converted later:tm:) (10080) units of time without eating human flesh.
- Cannibalism is 1 in 5 if your human... 1 in 20 if your not...?
- Farming Legs effects *everything* that cost's Stamina
- Pickpocket Weight calu (Pickpocket Skill level) * 200 + (STR) * 100 + 1000
- Gold Armour Shrines are considered bless *enchant armour* scrolls so go up to 5 (grey are +2)
- Faith Tax Values
- "Void Eyth" 500
- "Wind Lulwy" 25
- "Earth Opatos" 150
- "Element Itzpalt" 100
- "Machine Mani" 200
- "Harvest Kumiromi" 50
- "Luck Ehekatl" 300
- "Healing Jure" 100
- "Oblivion Yakasha" 0
- "Harmony Elin" 100
- "Trickery Kizuami" 200
- "Moonshadow Horome" 150
- "Strife Yevan" 50
public bool CalcHit()
{
if (TC != null)
{
if (TC.HasCondition<ConDim>() && EClass.rnd(4) == 0)
{
return Crit();
}
if (TC.IsDeadOrSleeping)
{
return Crit();
}
int num = TC.Evalue(151);
if (num != 0 && toHit < num * 10)
{
int num2 = evasion * 100 / Mathf.Clamp(toHit, 1, toHit);
if (num2 > 300 && EClass.rnd(num + 250) > 100)
{
return EvadePlus();
}
if (num2 > 200 && EClass.rnd(num + 250) > 150)
{
return EvadePlus();
}
if (num2 > 150 && EClass.rnd(num + 250) > 200)
{
return EvadePlus();
}
}
if (TC.Evalue(57) > EClass.rnd(100))
{
return EvadePlus();
}
}
if (EClass.rnd(20) == 0)
{
return true;
}
if (EClass.rnd(20) == 0)
{
return false;
}
if (toHit < 1)
{
return false;
}
if (evasion < 1)
{
return true;
}
if (EClass.rnd(toHit) < EClass.rnd(evasion * 3 / 2))
{
return false;
}
if (EClass.rnd(5000) < CC.Evalue(73) + 50)
{
return Crit();
}
if ((float)CC.Evalue(90) + Mathf.Sqrt(CC.Evalue(134)) > (float)EClass.rnd(200))
{
return Crit();
}
if (CC.Evalue(1420) > 0)
{
int num3 = Mathf.Min(100, 100 - CC.hp * 100 / CC.MaxHP);
if (num3 >= 50 && num3 * num3 * num3 * num3 / 3 > EClass.rnd(100000000))
{
return Crit();
}
}
return true;
}