[Crossfire-wiki] [Crossfire DokuWiki] page changed: gameplay:scratchpad

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Nov 3 04:27:56 CST 2013


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2013/11/03 04:27
User        : saru
Edit Summary: 

@@ -4,15 +4,17 @@
  Currently hp, sp and grace have some very strange rules to define max_hp, max_sp and max_grace. So strange in fact that defining how the functions result for a given character is almost impossible.
  == max hp ==
  max hp currently calculates by running the following equation for players below level 11:
  
- max_hp = 0
- for (i = 1; i <= pl_level && i <= 10; i++) {
- max_hp += op->contr->levhp[i]+get_con_bonus(op->stats.Con);
+   max_hp = 0
+   for (i = 1; i <= pl_level && i <= 10; i++) {
+   max_hp += op->contr->levhp[i]+get_con_bonus(op->stats.Con);
+ 
  which if less than 1, instead returns 1.
  
- op->contr->levhp[i] adds +1 per level + a random number
- get_con_bonus(op->stats.Con) adds more hp based on the players CON.
+   op->contr->levhp[i] adds +1 per level + a random number
+ 
+   get_con_bonus(op->stats.Con) adds more hp based on the players CON.
  
  This gets repeated 10 times. so players leveling from 1 - 11 see a large increase in HP per level (Very hard to balance)
  
  after level 10, players simply get +2 max_hp per level (boring hp increase after level 10, or perhaps, very stable increase.. easy to predict)


IP-Address  : 59.167.121.117
Old Revision: http://wiki.metalforge.net/doku.php/gameplay:scratchpad?rev=1383474385
New Revision: http://wiki.metalforge.net/doku.php/gameplay:scratchpad

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/



More information about the crossfire-wiki mailing list