Creation/Dev/GScript/Mudlib: Difference between revisions

From Graal Bible
Line 25: Line 25:
|}
|}
== Object Property Values ==
== Object Property Values ==
=== Attacktypes ===
<ol>
<li value="1">physical</li>
<li value="2">magical</li>
<li value="4">fire</li>
<li value="8">electricity</li>
<li value="16">cold</li>
<li value="32">confusion</li>
<li value="64">acid</li>
<li value="128">drain</li>
<li value="256">weaponmagic</li>
<li value="512">ghosthit</li>
<li value="1024">poison</li>
<li value="2048">slow</li>
<li value="4096">paralyze</li>
<li value="8192">turn undead</li>
<li value="16384">fear</li>
<li value="32768">cancellation</li>
<li value="65536">depletion</li>
<li value="131072">death</li>
<li value="262144">chaos</li>
<li value="524288">counterspell</li>
<li value="1048576">god power</li>
<li value="2097152">holy power</li>
<li value="4194304">blinding</li>
<li value="8388608">n/a</li>
<li value="16777216">life stealing</li>
</ol>
Add numbers together for mixed attacktypes. For example, "physical, cold" is 17.
=== Material ===
=== Material ===
Object materials are defined as an integer. The following list identifies each existing type with its integer:
Object materials are defined as an integer. The following list identifies each existing type with its integer:
Line 43: Line 74:
</ol>
</ol>


Use numbers in between for mixes. For example, #3 is "paper metal".
Add numbers together for mixed materials. For example, "paper glass" is 5.

Revision as of 17:14, 14 April 2011

This page attempts to document the mudlib used on Graal Kingdoms.

Object Property Names

In-Game Property Name Internal Property Name
magic sp
speed exp
regeneration hp
hp hpbuff
grace gracebuff
sp spbuff

Object Property Values

Attacktypes

  1. physical
  2. magical
  3. fire
  4. electricity
  5. cold
  6. confusion
  7. acid
  8. drain
  9. weaponmagic
  10. ghosthit
  11. poison
  12. slow
  13. paralyze
  14. turn undead
  15. fear
  16. cancellation
  17. depletion
  18. death
  19. chaos
  20. counterspell
  21. god power
  22. holy power
  23. blinding
  24. n/a
  25. life stealing

Add numbers together for mixed attacktypes. For example, "physical, cold" is 17.

Material

Object materials are defined as an integer. The following list identifies each existing type with its integer:

  1. paper
  2. metal
  3. glass
  4. leather
  5. wood
  6. organics
  7. stone
  8. cloth
  9. adamant
  10. liquid
  11. soft metal
  12. bone
  13. ice

Add numbers together for mixed materials. For example, "paper glass" is 5.