summaryrefslogtreecommitdiff
path: root/healing.md
blob: 4d16c40e1e77aeb1205bce67b9bab287d72a3ab2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Rules
Healing is in %, ranging from 1% to 90%.

## Formulas
  + MinHeal %: @rarity * ((@type*1) + 1)
  + MaxHeal %: @rarity * ((@type*2) + 1)
  + Delay: 1 + (@type*2)
      + Sweeties: 1s
      + Vegetables: 3s
      + Proteins: 5s
      + Proccessed: 7s
      + Magical: 9s


# Attributes
New healing system have two attributes:

##    @type
+          0 - Sweeties (lowest)
+          1 - Vegetables
+          2 - Proteins
+          3 - Proccessed highly chaloric
+          4 - Magical (highest)

##   @delay
      Overrides the lasting time

##   @rarity
      How rare the item is (how much should it effect). Ranges from 1 to 10.

+ 1 : Common Drop ( > 10%)
+ 2 : Shop item / Candor
+ 3 : Shop item / Tulim
+ 4 : Shop item / Hurns, Nival
+ 5 : 
+ 6 : 
+ 7 : 
+ 8 : 
+ 9 : Aeros Shop items
+ 10: 

# Quick Cheat copy-paste
```c
		@type = 1;
		@rarity=4;
```

```c
		doevent "legacy_heal::OnUse";
```