Skip to content

Commit

Permalink
- Added: Herbalist, Miner, Nurse general skill implementation.
Browse files Browse the repository at this point in the history
- Updating special rolls form the main character sheet to be in line with new look.
- Added warning to players not targeting monsters before rolling an attack.
  • Loading branch information
Zerrian committed Sep 11, 2024
1 parent 2aa3fec commit ef32d3b
Show file tree
Hide file tree
Showing 64 changed files with 327 additions and 189 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## Recent updates

### 2024-09-11

- Added: Herbalist, Miner, Nurse general skill implementation.
- Updating special rolls form the main character sheet to be in line with new look.
- Added warning to players not targeting monsters before rolling an attack.

### 2024-09-10

- Finished updating new Player Shield Block code.
- Shields and Shieldsman skills automated into new Player Shield Block code.
- Updated general skill rolls to use new output format. Further updates may be needed to streamline the code more.
Expand Down
6 changes: 3 additions & 3 deletions gs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ async function weaponMacroHotbarDrop(data, slot){
}
};`;
if(item.type === 'weapon'){
command += `actor.sheet._newPlayerAttack(mockEvent);`;
command += `actor.sheet._playerAttack(mockEvent);`;
}else if(item.type === 'armor')
command += `actor.sheet._newPlayerDodge(mockEvent);`;
command += `actor.sheet._playerDodge(mockEvent);`;
else if(item.type === 'shield')
command += `actor.sheet._newPlayerBlock(mockEvent);`;
command += `actor.sheet._playerBlock(mockEvent);`;
else
console.log(`GS Hotbar Drop Error | The current item you have dropped into the hot bar is not configured yet.`);

Expand Down
25 changes: 24 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,19 @@
"piec": "Pieces",
"heal": "Heal",
"aTrack": "Attrition Track",
"dc": "DC"
"dc": "DC",
"strFoc": "Strength Focus",
"strRef": "Strength Reflex",
"strEnd": "Strength Endurance",
"psyFoc": "Pysche Focus",
"psyRef": "Pysche Reflex",
"psyEnd": "Pysche Endurance",
"tecFoc": "Technique Focus",
"tecRef": "Technique Reflex",
"tecEnd": "Technique Endurance",
"intFoc": "Intelligence Focus",
"intRef": "Intelligence Reflex",
"intEnd": "Intelligence Endurance"
},
"monster": {
"type": "Type",
Expand Down Expand Up @@ -396,6 +408,7 @@
}
},
"dialog": {
"random": "Random",
"rolling": "Rolling",
"cancel": "Cancel",
"dice": "Dice",
Expand All @@ -407,6 +420,8 @@
"suffered": "Damage Suffered",
"outOfRange": "You are out of range for the attack.",
"curvedShotLabel": "Curved Short",
"skillCheck": "Skill Check",
"firstTargetMonster": "You must target a monster before rolling a Hit Check. Right-click and toggle target state or hover mouse over token and click 'T'.",
"dodge": {
"value": "Dodge Value",
"roll": "Dodge Roll",
Expand Down Expand Up @@ -611,6 +626,14 @@
"header": "Will you use the following skill: ",
"primary": "Yes",
"secondary": "No"
},
"herbalist":{
"title": " Skill Choices",
"header": "Choose a Main Roll",
"body": "Choose to roll either an Observe, Sixth Sense, or General Knowledge check which will include this skill level bonus: ",
"button1": "Observe",
"button2": "Sixth Sense",
"button3": "General Knowledge"
}
}
}
Expand Down
Loading

0 comments on commit ef32d3b

Please sign in to comment.