mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
update skill check information
This commit is contained in:
1 parent
23b2bb8b87
commit
90aa2b2d97
1 file changed
+6
@@ -29,6 +29,10 @@ lib.skillCheck(difficulty)
|
|||||||
* difficulty: `easy` or `medium` or `hard` or `object`
|
* difficulty: `easy` or `medium` or `hard` or `object`
|
||||||
* Can set custom difficulty by sending a object instead of string
|
* Can set custom difficulty by sending a object instead of string
|
||||||
* { areaSize: `number`, speedMultiplier: `number` }
|
* { areaSize: `number`, speedMultiplier: `number` }
|
||||||
|
* easy: { areaSize: 275, speedMultiplier: 1 }
|
||||||
|
* medium: { areaSize: 290, speedMultiplier: 1.5 }
|
||||||
|
* hard: { areaSize: 295, speedMultiplier: 1.75 }
|
||||||
|
* `areaSize` works inverse, so smaller value means bigger zone.
|
||||||
* Sending an array will chain the checks together and return false if one fails and true if all succeed
|
* Sending an array will chain the checks together and return false if one fails and true if all succeed
|
||||||
|
|
||||||
### Usage Example
|
### Usage Example
|
||||||
@@ -49,3 +53,5 @@ const success = await lib.skillCheck(['easy', 'easy', {areaSize: 250, speedMulti
|
|||||||
```
|
```
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
|

|
||||||
Reference in new issue
Block a user