StendhalRefactoringRP: Difference between revisions
Content deleted Content added
imported>Ufizavipupu No edit summary |
imported>Madmetzger Undo revision 11777 by Ufizavipupu (Talk) |
||
Line 1:
{{Navigation for Stendhal Top|Developing}}
{{Navigation for Stendhal Developers}}
Line 25 ⟶ 17:
* shield
ChadF also suggested another type of weapon skill system that you can review [[Ideas:chad3f|here]]
<br>
<br>
We want to avoid the situation of having to add items to monsters for them in order to combat, so we need to find a way of making compatible both systems ( the above one with the actual ATK/DEF one ).
We need to design the system to avoid campers:
http://arianne.sourceforge.net/wiki_images/stendhal_0.39_campers.jpg
There are several valid approach for this problem, and IMHO we should try from less severe to most severe first.
# Blood solution
# Don't get XP points nor skill points from weak creatures
# Kick idle players
We want to disallow first camping to increase skills, you gain skills by playing not by camping. Later we will fix camping by not respawing monsters if player is waiting for the monster. The whole point is to have player create ''value'': fun.
==Leveling up==
To level up you need to gain XP by killing monsters and/or solving quests.
On level up you gain HP.
Line 53 ⟶ 45:
Combat right now works as follows:
# We compute the ''risk'' to hit the target, using their ATK and DEF attributes-
# If risk
The formula looks like:
risk_to_hit = 20 * source[ATK] - roll[1D20] * target[DEF]
if risk_to_hit
max_defence = √(target[DEF] * (10 + target[ARMOR])) * (10 + 0.03 * (target[LEVEL] + 5));
max_attack = source[ATK] * (1 + source[WEAPON])* (1 + 0.03 * (source[LEVEL + 5)) * speed_effect;
Line 67 ⟶ 59:
damage = (8 * max_attack * random[0..1] - max_defence * random[0..1]) / max_defence;
There's also small karma effect for both the hitting chance and damage.
See that it is very important the ATK and DEF value, but that you can also get big improvements using weapons, armors, shields, etc...
The benefits you get from your items and skills are directly proportional to your level. The
Creatures are balanced without items, and have constant item DEF of 0 and item ATK 5.
Line 81 ⟶ 73:
* Item ATK is the sum of the bow and arrow ATK values
ranged_damage = distance_modifier * normal_damage
where:
Line 90 ⟶ 82:
where:
out_of_range = max_range + 1,
Thus
==Tactics slider==
Line 103 ⟶ 95:
*Slink: Players are aware of dangerous situations, they will therefore expect to be attacked suddenly (adrenalin-kick ;) ) and they slink to make no noise.
-
*Normal: Just normal ;)
Line 109 ⟶ 101:
*Run: Players like to get fast from A to B (they might like to flee away). The do not take care of noise and surrounding. A attack will surprise them.
-
=== Aggress---Normal---Defence: ===
Line 117 ⟶ 109:
*Aggress: The player tries to slaughter the creature as fast as possible, he/she is using fancy hero-tricks, however this open weak points in the defence. Doesn't matter for real a hero which starts to become bloodthirstiness. The little scratches and wounds will be acceptable for a real hero as along as he/she is the winner of this massacre.
-
*Normal: Again just normal ;)
*Defence: The player is under heavy attack and run out of potion. Help is coming soon from his party. Therefore, it becomes a question of time.
-
These sliders will make it possible to run different strategies for parties and for longer campaigns. In addition the level of a player is not directly related to the DEF and ATK settings, which make it more interesting because other players do not know about the actual settings. This can help weak players to protect them better and strong players get faster rid of (boring) weak creatures.
Line 132 ⟶ 124:
We will mainly have 6 elements in Stendhal, maybe 8 later, and those are Fire, Water/Ice, Earth, Wind, Holy and Dark.
The 2 that might be added later is Physical and Mental magic, that focuses on protecting against and strenghtening charm and poison attacks. For now poison will just be treated as a normal attack, and not be affected by any magic resistances.
<br>
For the Element there will be some properties:
* Fire strong vs Water
Line 139 ⟶ 131:
* Earth strong vs Wind
* Wind strong vs Fire
<br>
* Dark strong vs Holy
* Holy strong vs Dark
The Holy and Dark elements will also be used in healings, depending on if the target is a good or an evil creature the dark and holy elements will heal or damage the target.
<br>
Here is some speculative formulas for how magic might be working
risk_to_hit = 2 * source[INT] - target[INT] + target[DEF]/2 + roll[1D20] -10
if risk_to_hit
attacker part = 0,8 * ((roll[1D100]/100) * source[MATK]^2) * (ELEMENT * 0,2) + 4 * source[MATK] * (ELEMENT*0,2)
maxdamage = source[MATK]^2 + 4 * (ELEMENT)
Line 161 ⟶ 153:
WEAK = The element that is weak to the skill that is used. (beeing strong in one element makes you weak to another)
STRONG = Is the target strong against the element casted upon him?
These Formulas is based on that all creatures have an elemental resistance to all the elements in the game:
* An elemental resistance below 0 means that you gain extra damage from that element -100 means you recive the double damage.
* An elemental resistance of 0 means that there is no change in damage from that element, or the element that is strong against it.
* An elemental resistance of 100 means that the target is immune to that form of damage, but also weak against the element strong against it.
* An elemental resistance of 100+ means that you absorbs some of that element (ie you get healed) having 200 means that instead of getting damaged you get healed the entire damage cast upon you, but you are also very weak against the oposing element.
<br>
Check over at the class section for spells that might be added
[[StendhalRefactoringClassBasics| Class Basics]]
==Trading system==
Line 261 ⟶ 253:
There could be an analogue feature to the buddy list for parties so that every member would be notified any time other member logs in and out.
<br>
An alternate method for sharing loot is a bidding system. Each member of the party gets a number of points for bidding (either proportional or equal). Players then assign the number of points they're willing to spend on each item they want. The player who pays the most wins, or for stackable items the stack is split according to how much each player paid. This way, if a player desperately wants one item they can put all their points on that item and let the other players divide up the rest.
<br>
<br>
<br>
----
[[StendhalRefactoring| Back to stendhal refactoring page]]
[[Stendhal | Back to Stendhal main wiki page]]
[[Category:Development]]
| |||