Abilities ko KR - Reetus/ClassicAssist GitHub Wiki

ํด๋ž˜์‹์–ด์‹œ์ŠคํŠธ ๋งคํฌ๋กœ ๋ช…๋ น์–ด

์ƒ์„ฑ๋œ 2024-12-15 ์˜ค์ „ 3:30:41
๋ฒ„์ „: 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a
Translated by Mark Hunt & Andy H.

ํŠน์ˆ˜๊ธฐ

ActiveAbility

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean ActiveAbility()

์„ค๋ช…:

๊ธฐ๋ณธ ๋˜๋Š” ๋ณด์กฐ ๊ธฐ๋Šฅ์ด ์„ค์ •๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ ์ฐธ(Ture)์œผ๋กœ ๋ฐ˜ํ™˜

์˜ˆ์‹œ:

if not ActiveAbility():
 SetAbility("primary", "on")  

ClearAbility

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void ClearAbility()

์„ค๋ช…:

๋ฌด๊ธฐ ํŠน์ˆ˜๊ธฐ ์ทจ์†Œ

์˜ˆ์‹œ:

ClearAbility()  

Fly

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void Fly()

์„ค๋ช…:

(๊ฐ€๊ณ ์ผ)์•„์ง ๋น„ํ–‰๋ชจ๋“œ๊ฐ€ ์•„๋‹ˆ๋ผ๋ฉด ๋น„ํ–‰๋ชจ๋“œ๊ฐ€ ์‹œ์ž‘๋ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

Fly()  

Flying

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Flying(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋ชจ๋นŒ์ด ํ˜„์žฌ ๋น„ํ–‰๋ชจ๋“œ๋ผ๋ฉด True ๊ฐ’์„ ๊ฐ–์Šต๋‹ˆ๋‹ค

์˜ˆ์‹œ:

if Flying("self"):  

Land

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void Land()

์„ค๋ช…:

(๊ฐ€๊ณ ์ผ)ํ˜„์žฌ ๋น„ํ–‰๋ชจ๋“œ๋ผ๋ฉด ๋น„ํ–‰๋ชจ๋“œ๋ฅผ ์ค‘์ง€ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

Land()  

SetAbility

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void SetAbility(System.String, System.String)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • ability: ํŠน์ˆ˜๊ธฐ ์ด๋ฆ„, "์ฒซ๋ฒˆ์งธ","๋‘๋ฒˆ์งธ","๋งˆ๋น„" ๋˜๋Š” "๋ฌด์žฅํ•ด์ œ".
  • onoff: "on" or "off". (์˜ต์…˜)

์„ค๋ช…:

๋ฌด๊ธฐ ํŠน์ˆ˜๊ธฐ ์„ค์ •, ๋งค๊ฐœ๋ณ€์ˆ˜ "์ฒซ๋ฒˆ์งธ" / "๋‘๋ฒˆ์งธ".

์˜ˆ์‹œ:

SetAbility("primary")