-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitem-class.js
73 lines (54 loc) · 1010 Bytes
/
item-class.js
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
console.log(knife)
/*
All WEAPONS:
KNIFE [AP:3, MATH.FLOOR(DMG:3 * ST /9)]
MEAT CLEAVER [AP:4, MATH.FLOOR(DMG:4 * ST /9)]
BASEBALL BAT [AP:3, MATH.FLOOR(DMG:3 * ST /9)]
GOLF IRON [AP:3, MATH.FLOOR(DMG:2 * ST /9)]
MACE [AP:5, MATH.FLOOR(DMG:5 * ST /9)]
KATANA [AP:3, MATH.FLOOR(DMG:5 * ST /9)]
BRANCH [AP:4, MATH.FLOOR(DMG:2 * ST /9)]
NO WEAPON:
[AP:3, MATH.FLOOR(DMG:1 * ST /9)]
ALL BUFFS:
LEATHER JACKET + HP
RUNNING SHOES + AG
BINOCULARS + PE
GUILLE SUIT + HIDING
GLOWING ROCK +HP +AG +PE +ST +AP -HIDING
ALL FOOD/HEALTH ITEMS:
BANDAGE +2 HP (-1) INJURY
FIRST AID +3 HP (-1) INJURY
MORPHINE +3 HP -PE +ST
BANDAID + 1HP
ENERGY DRINK +2HP +AG
POTATO CHIPS +2HP
CAN OF BEANS +3HP
BEEF JERKY +3HP
ALL INJURIES
BROKEN ANKLE -AG -AP
TORN MUSCLE -AP -ST
HEAVY BLEEDING -HIDING -AP
CONCUSION -AG -PE
SPRAIN -AG
KEY ITEMS
RUSTY KEY
GASOLINE -AG -HD
*/
/*
has to be saved between sessions:
player:
hp
ag
st
pe
ap
hi
injuries
place:
currentPlace
hour
inventory_item(s)
current_weapon
current_buff
*/