File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -882,13 +882,31 @@ public static void OnHotkey(HotkeyID hotkey) {
882882 if ( hotkey == HotkeyID . CtrlSpace ) {
883883 #region cursed arrow
884884 //TODO
885- notification . message = "TOD : [cursed arrow]" ;
885+ notification . message = "TODO : [cursed arrow]" ;
886886 #endregion
887887 }
888888 else {
889889 #region arrow rain
890890 //TODO
891891 notification . message = "TODO: [arrow rain]" ;
892+ //const int rainSize = 7;
893+ //for (int x = 0; x < rainSize; x++) {
894+ // for (int y = 0; y < rainSize; y++) {
895+ // var projectile = new Projectile() {
896+ // Scale = 1f,
897+ // Type = ProjectileType.Arrow,
898+ // Source = guid,
899+ // Velocity = new FloatVector() { x = 0, y = 0, z = -1f },
900+ // Position = new LongVector() {
901+ // x = 0x8020800000,//dynamicEntities[guid].position.x + (long)((dynamicEntities[guid].rayHit.x + x - rainSize / 2) * 0x10000),
902+ // y = 0x8020800000,//dynamicEntities[guid].position.y + (long)((dynamicEntities[guid].rayHit.y + y - rainSize / 2) * 0x10000),
903+ // z = 0x01000000,//dynamicEntities[guid].position.z + (long)((dynamicEntities[guid].rayHit.z + 10) * 0x10000),
904+ // }
905+ // };
906+ // SendUDP(projectile.data);
907+ // ProcessDatagram(projectile.data);
908+ // }
909+ //}
892910 #endregion
893911 }
894912 break ;
You can’t perform that action at this time.
0 commit comments