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

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


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

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

@@ -2,16 +2,29 @@
  ==== hp, sp and grace revamp ====
  === current ===
  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 ==
- [outline how code currently works]
+ 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);
+ 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.
+ 
+ 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)
+ 
+ == max hp proposal ==
+ hp goes up more linearly using an equation like:
+   maxhp = racehp + classhp + (conmod * con) + (levelmod * level)
  
  == max sp ==
  [outline how code currently works]
  
  == max grace ==
  [outline how code currently works]
  
  
- == Proposal ==
- hp goes up more linearly using an equation like:
-   maxhp = racehp + classhp + (conmod * con) + (levelmod * level)


IP-Address  : 59.167.121.117
Old Revision: http://wiki.metalforge.net/doku.php/gameplay:scratchpad?rev=1383473879
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