iX_hanseen 3cafa5b51aaf45a99006eeb1a38e5943
pp에 spell:부분에 warrior_1_left_pain이라는 .targeted.painspell 을 넣었는데, effectlib의 파티클에 닿은 몹이 대미지를 전혀 입지
않습니다. 그리고 쿨타임도 제대로 작동을 하지가 않습니다. 분명 쿨타임을 5초로 설정했는데, 검 좌클릭만하면 바로 즉발이 됩니다.
어떻게하면 쿨타임과 대미지를 넣을수 있을까요.. 고수분들 알려주시면 감사하겠습니다 !!
predefined-items:
warrior_1_item:
type: "268"
name: '&f[ &6전사 &f]'
lore:
- "&f[ &6전사 &f] 좌클릭: 데미지 5"
- "&f[ &6전사 &f] 우클릭: 데미지 ?"
unbreakable: true
warrior_1_left_pp1:
spell-class: ".instant.ParticleProjectileSpell"
cooldown: 5
cast-item: warrior_1_item
projectile-velocity: 5
projectile-gravity: 0
projectile-spread: 0
projectile-horiz-offset: 0
projectile-vert-offset: 0
particle-name: reddust
particle-speed: 0
particle-count: 0
particle-horizontal-spread: 0.0
particle-vertical-spread: 0.0
special-effect-interval: 10
hug-surface: true
tick-interval: 1
spell-interval: 1
max-distance: 0
max-duration: 1
hit-players: true
hit-non-players: true
hit-air-at-end: false
start-forward-offset: 0
start-y-offset: 1
hit-radius: 10
stop-on-hit-entity: false
stop-on-hit-ground: false
spell: warriior_1_left_pain
effects:
1:
position: special
effect: effectlib
delay: 0
effectlib:
class: EquationEffect
xEquation: "1(2sin(0.01t))"
yEquation: "0.5"
zEquation: "- 2cos(0.01t)"
duration: 100
particle: crit
color: FFFFFF
particles: 150
cycle: true
orient: true
1s:
position: caster
effect: sound
sound: entity.wither.shoot
volume: 2
pitch: 1
warrior_1_left_pain:
spell-class: ".targeted.PainSpell"
cooldown: 0
damage: 5
ignore-armor: false
target-players: true
DDang_
2021.06.09effectlib 자체엔 피해를 못주는걸로 알고 있습니다